Markus Elfring <[EMAIL PROTECTED]> writes: >> Menu commands can have children already so you would get hierarchy >> information from there. Shortcut key you could just add as extra >> argument for menu, like --hotkey="1" > > Will an explanation of the data format be added to the wiki? > > >> In example: >> menu "foo" { >> menu "bar" { >> menu "zot" { >> } >> } >> } > > Can an item be reused at different levels in the hierarchy without repetition > of > its definition (attribute set)?
I want to make something to generate menu entries from a script. Is that what you mean? >> Though I am not sure how well this outline view is supported by the >> current parser. Marco, perhaps you could share some insights? > > How is the state of the GRUB 2 menu browser at the moment? It's not stable yet. Especially the scripting needs to be worked on. >> I had a look at example mp3 playlist in opml format and it seems to be >> data description language (like what xml is). What we have in grub >> script is a scripting language that has commands to construct data (menu). > > Is a manual available already? No, do you want to work on this? -- Marco _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel