Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MtHn4-0000IK-Gp for mharc-grub-devel@gnu.org; Thu, 01 Oct 2009 05:17:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtHn1-0000Ex-6m for grub-devel@gnu.org; Thu, 01 Oct 2009 05:17:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtHmw-00008o-23 for grub-devel@gnu.org; Thu, 01 Oct 2009 05:17:30 -0400 Received: from [199.232.76.173] (port=46175 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtHmv-00008A-OR for grub-devel@gnu.org; Thu, 01 Oct 2009 05:17:25 -0400 Received: from mail-px0-f183.google.com ([209.85.216.183]:40737) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtHmv-00024L-85 for grub-devel@gnu.org; Thu, 01 Oct 2009 05:17:25 -0400 Received: by pxi13 with SMTP id 13so7825102pxi.6 for ; Thu, 01 Oct 2009 02:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Mx6BA5p9m/rW8VgqI9ZsGG0ZfEwDrhD9aS6SexoWCg0=; b=OCCyWpKJL/40VmdMGgcIT1244IHnzkP359in94nxqYUabU+NzXP3HqImIqrw3aeLPt RfxJ7+KI+vHi3H19w6YLO+t0koaY/vsBMWA1nAJeM7IHrG8+g8zgoJDvj7kYoKyZ/ZnQ saXHQmcvx4c8tWBW0ePYBTZMZF1Bxz24KANos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=l531DXF6XpjGzXARwCC/GW7zdHBpsNYP0dtI3itdBeyFTnMAOuJan6wlk2hJotH1Ss O/j+yR7BhudR9Oom3trlbtFXf5Aa57a6N/tunouAHDr0rdEPT6jgnlI/+Ve/FUsc5O3B VCHSl5ExwGAbQLKJBt6wOCj6YC/48wnmRVulY= MIME-Version: 1.0 Received: by 10.141.4.20 with SMTP id g20mr78268rvi.121.1254388644162; Thu, 01 Oct 2009 02:17:24 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2009 17:17:24 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] New menu interface (implementation) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 09:17:31 -0000 On Thu, Oct 1, 2009 at 4:41 PM, Michal Suchanek 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/