Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MtLmj-0002p2-II for mharc-grub-devel@gnu.org; Thu, 01 Oct 2009 09:33:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtLmg-0002oF-H3 for grub-devel@gnu.org; Thu, 01 Oct 2009 09:33:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtLmb-0002nH-4M for grub-devel@gnu.org; Thu, 01 Oct 2009 09:33:25 -0400 Received: from [199.232.76.173] (port=44210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtLma-0002nC-P0 for grub-devel@gnu.org; Thu, 01 Oct 2009 09:33:20 -0400 Received: from mail-pz0-f181.google.com ([209.85.222.181]:43312) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtLma-0001DQ-LW for grub-devel@gnu.org; Thu, 01 Oct 2009 09:33:20 -0400 Received: by pzk11 with SMTP id 11so143128pzk.14 for ; Thu, 01 Oct 2009 06:33:19 -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 :content-transfer-encoding; bh=i2oyPfYUilkNGUwJTM8KYC+W4VWnu5LubXpmWF///Yk=; b=grwVqmzdBjfSESlNHaApW8eUiQwsF1tLuTu+P2AUKC8lAygY8xV09r6qZMLNVJH1mc OZlRxao3B59wrG68NA+7h8TwSAerMkYEyYYAsfGtJQdYs+uplQR5JB6onyBg/2mTMYLy TW16GUh1A5uAT4PI21RSLdGANLLg3LFJOpsvg= 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:content-transfer-encoding; b=lBh8v46Sy1oGR5G3ZJI0/Sy5Czj7PxmyZeqi74XeTS4GnxucOhotuyjuZVKc/6xfZ0 gm0VuoqVfoRVGWtzFzWrPMSrgRirvApl/pYHFcb3Fwinp4u5TS5nPX+H3aSvHMQ57BwC cKmPsNvmbnUCBBy4YCa27MYIw/WThB9Ss0lLE= MIME-Version: 1.0 Received: by 10.141.18.9 with SMTP id v9mr136816rvi.89.1254403999143; Thu, 01 Oct 2009 06:33:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2009 21:33:19 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 13:33:27 -0000 On Thu, Oct 1, 2009 at 8:44 PM, Michal Suchanek wrote= : > 2009/10/1 Bean : >> On Thu, Oct 1, 2009 at 4:41 PM, Michal Suchanek wr= ote: >>> 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 >> { >> =A0direction =3D vertical >> =A0input =3D 1 >> >> =A0panel >> =A0{ >> =A0 =A0direction =3D horizontal >> =A0 =A0text { text=3D"username"} >> =A0 =A0edit {} >> =A0} >> >> =A0panel >> =A0{ >> =A0 =A0direction =3D horizontal >> =A0 =A0text { text=3D"password"} >> =A0 =A0edit {} >> =A0} >> } >> >> 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. > > Since the panel only contains one active item ( the edit ) this should > still work. > > I recall writing about this here already. Hi, It'd be ok if we only have one level input items, but I plans to add two two level interaction, first is window, second is item, TAB switch different window, while UP/DOWN switch different items. In this setup, we need to mark the panel that acted as window. --=20 Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/