Thread
:
Tip Calculator
View Single Post
brontide
2008-06-27 , 02:49
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#
7
Since I just spent the better part of a week banging my head on the wall here is a pointer.
http://maemo.org/api_refs/4.1/gtk+2....set-input-mode
By setting a GtkEntry to be NUMERIC only it will allow easier non-Fn key number entry. entry.set_input_mode( mask )
But your problem might be easier.
http://maemo.org/api_refs/4.1/gtk+2....on-set-numeric
gtkspinbutton.set_numeric( True )
Might also do the trick.
Of course this may or may not work under Python.
Quote & Reply
|
The Following User Says Thank You to brontide For This Useful Post:
TrueJournals
brontide
View Public Profile
Send a private message to brontide
Find all posts by brontide