2009/9/8 Bean <bean12...@gmail.com>: > Hi, > > After more consideration, perhaps we should use the following > component structure: > > frame - window border > panel - layout manager with scroll bar support > window - frame + panel > label - text > image - image > button - button > list - list box > edit - multi-line edit box > term - terminal emulator (extends edit component) > menu - menu list (extends list box)
Also how is the menu shown? Currently the menu is implicitly shown if defined but with this extended menu system you can create multiple "windows". There could be a menu with some magic ID that is shown automatically if defined after config parsing ends. Another approach is adding a show command that shows a particular element (with its subelements) as the main window on the screen, This would be likely implicitly present in the edit command for the menu items that have some action bound to them. To make the window management simple every time only a single window would be shown - they could be pushed onto a window stack so that if a popup (such as the action edit popup) is closed the previous window is restored. Thanks Michal _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel