[Glade-devel] ComboBox and Arrow Keys.



On Tue, 2004-01-13 at 22:38, ext garyk xmission com wrote:
I have been building some forms using Glade. I am using the Tab and
Shift-Tab keys to move the cursor from Left-to-Right between fields. I
wanted to use the UP and Down Arrow Keys to move the cursor between fields
in an Up-and-Down direction. 

Everything works great unitl you hit a "ComboBox" object. I would like to
modify the callbacks so that a user would have to press the "ALT" key and
the UP and Down Arrow keys to change the contents of the ComboBox. If the
"ALT" key was not pressed. Then the use of the Arrow Keys would simply move
the Cursor to the Field above or the Field below the ComboBox field. 

I'd be very careful before changing the behavior of stock widget
keybindings.  You'll probably achieve the same, if not more efficient,
result by assigning mnemonics for relevant labels.  That way you can
jump to any control directly, instead of needing to traverse through
them one by one.


-- 
Tommi Komulainen <tommi komulainen nokia com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]