[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Renaissance - nextKeyView - first key board focus?
From: |
Paul Chany |
Subject: |
Re: Renaissance - nextKeyView - first key board focus? |
Date: |
Sat, 10 Jul 2010 23:09:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Paul Chany <csanyipal@gmail.com> writes:
> I created a gsmarkup file and have nextKeyView setup for views.
>
> My question is: how to get the first keyboard focus to the first such
> view without mouse click?
I find a solution: in the gsmarkup file I used in the <window> tag
'initialFirstResponder' attribute to determine the keyboard focus to a
button when one hit Tab on keyboard.
[snip..]
<objects>
<window title="LPT Interface" backgroundColor="E0E064" center="yes"
closable="no" initialFirstResponder="#DPinbin" >
<vbox>
<vspace />
<label font="Big" textColor="FF0000" halign="left">LPT Interface for
Educational Purposes - Terminal Fórum</label>
<vspace />
<hbox>
<hspace />
<box title="LPT Data Port" valign="top" type="proportional" >
<vbox>
<grid>
<gridRow>
<label font="big" textColor="006000"
halign="right">bits 76543210</label>
<button title="in binary" id="DPinbin"
nextKeyView="#DPtF" halign="wexpand" />
</gridRow>
[..snip]
--
Regards,
Paul Chany
You can freely correct my English.
http://csanyi-pal.info