On Thu, Oct 1, 2009 at 4:41 PM, Michal Suchanek <hramr...@centrum.cz> wrote:
> Cannot this be inferred automatically?
>
> That is any panel that contains command items is a window.

Hi,

Sometimes panel can be used to ground some widgets together, for
example, a dialog may look like this:

panel
{
  direction = vertical
  input = 1

  panel
  {
    direction = horizontal
    text { text="username"}
    edit {}
  }

  panel
  {
    direction = horizontal
    text { text="password"}
    edit {}
  }
}

In this case, the outer panel should be a single window, and the edits
are items. The inner panel is only used for layout, we don't want them
to receive input focus.

-- 
Bean

gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to