Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MtL18-0007CY-Tb for mharc-grub-devel@gnu.org; Thu, 01 Oct 2009 08:44:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtL15-0007BB-Qo for grub-devel@gnu.org; Thu, 01 Oct 2009 08:44:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtL12-0007AB-Pm for grub-devel@gnu.org; Thu, 01 Oct 2009 08:44:14 -0400 Received: from [199.232.76.173] (port=50285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtL11-0007A4-Tc for grub-devel@gnu.org; Thu, 01 Oct 2009 08:44:12 -0400 Received: from fg-out-1718.google.com ([72.14.220.153]:39193) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtL11-0006nN-8V for grub-devel@gnu.org; Thu, 01 Oct 2009 08:44:11 -0400 Received: by fg-out-1718.google.com with SMTP id 22so48041fge.12 for ; Thu, 01 Oct 2009 05:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ipf+yoGffVXsSNq/gZMzRnothMuWS7R0HU7ct7fpYTk=; b=GSGdL8VhDmc1X5pHmI9LEDyUjmrAC7sKki3KH/JXm5e1/rRr7G67DtOCFTGcVuDzMp Tjp2CZkzQ+X2XAtuR/P0BpOw8Jq7oaQoiWffsNNayihIMrvvM9e1peXjZ1RUv/7txHHu LaNXYnzII4lxYUPzh3xOlHgv4X+fpVeUX3+io= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Kt2OVW8KRtIZ7aOyGoTgd1DdT3v4N3wsUy/RTBLYkep0ddd8TTyNzKLPa7WsdJmaed BZsUh4eRzSmRDhzToJaBmYyuI0b34iYJ0veyR/Tk4Y0kgRdAjIM88DfjgH907ZkGD10V RKhUnwGHti1FLuZKNQZBNeSqtieClq83yC65k= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.208.2 with SMTP id f2mr1153025fgg.16.1254401050329; Thu, 01 Oct 2009 05:44:10 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2009 14:44:10 +0200 X-Google-Sender-Auth: 0305fe6867675d5a Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 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 12:44:17 -0000 2009/10/1 Bean : > On Thu, Oct 1, 2009 at 4:41 PM, Michal Suchanek wro= te: >> 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 > { > =C2=A0direction =3D vertical > =C2=A0input =3D 1 > > =C2=A0panel > =C2=A0{ > =C2=A0 =C2=A0direction =3D horizontal > =C2=A0 =C2=A0text { text=3D"username"} > =C2=A0 =C2=A0edit {} > =C2=A0} > > =C2=A0panel > =C2=A0{ > =C2=A0 =C2=A0direction =3D horizontal > =C2=A0 =C2=A0text { text=3D"password"} > =C2=A0 =C2=A0edit {} > =C2=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. Thanks Michal