YU Yijun RD-ILAB-PEK wrote:
[...]
Exactly. Right for these situations I think there is a necessary to make some
modifications to the stock Gtk+ widgets. I think possible solutions include:
1) Use left/right arrows to navigate out the spin buttons;
2) or specify triple states for spin button:
Non-focus state. In this state we could use any arrow key to navigate
out from it;
Focus without editing state. In this state we could also use any arrow
key to navigate out from it;
Focus and editing state. In this state we could not use arrow key to
navigate out from it and it will treat arrow key input as manipulating its
content.
And we could use OK key in the phone keypad to switch spin button's
different states.
It seems that we need to examine the Gtk+ widgets one by one to see if they
could be navigated and manipulated by only using the phone keypad and then make
some modifications accordingly.
Its quite simple really,
I work on jukeboxes (touchtunes.com); we simply write the UI code and when
something needs
to be done a little differently, GtkScale on a touchscreen for example, we
write some custom code,
no need to modify GTK+, its all OO so you can just derive/modify object
behaviour at your lesure,
you can even glade your phones and there customized widgets :)
Cheers,
-Tristan
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list