[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GITGRUB] New menu interface (second draft)

From: Michal Suchanek
Subject: Re: [GITGRUB] New menu interface (second draft)
Date: Wed, 9 Sep 2009 16:50:13 +0200

2009/9/8 Bean <address@hidden>:
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]