Active Topics

 


Reply
Thread Tools
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#1
As per http://talk.maemo.org/showpost.php?p...0&postcount=70 I'm looking for a way to have Hildon Input Method in numeric mode and still allow for decimal separator (I have no idea why it's not allowed by default in the numeric mode...)

See http://vcs.maemo.org/svn/maecalories...s/weightlog.py for code I use now.

http://maemo.org/api_refs/5.0/beta/g...IMContext.html has TELE mode, but contrary to the documentation it does not allow dots either.
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#2
bumpity bump, anyone have any idea?
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#3
Jump, my precious! Jump as high as the birds fly!
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#4
Code:
input.set_property
(
    'hildon-input-mode',
    gtk.HILDON_GTK_INPUT_MODE_NUMERIC | gtk.HILDON_GTK_INPUT_MODE_SPECIAL
)
sorta works, though it enables the full set of special characters...

edit: and does not really answer the original question of how to extend a profile only a little.

Last edited by rambo; 2010-04-14 at 20:47. Reason: clarification
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#5
hehehe, good to see you are trying
Unfortunately don't have a clue about GTK
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:41.