VS: Re: python hildon.Button -problem

2010-04-09 Thread peltsip
- Alkuperäinen viesti - On Fri, Apr 9, 2010 at 5:09 AM, Timo Pelkonen pelt...@gmail.com wrote: Hi! I don't know what I am doing wrong with this. I have two buttons configured like this: button_1 = hildon.Button(gtk.HILDON_SIZE_AUTO,hildon.BUTTON_ARRANGEMENT_VERTICAL,

VS: Re: python hildon.Button -problem

2010-04-09 Thread peltsip
- Alkuperäinen viesti - On Fri, Apr 9, 2010 at 5:09 AM, Timo Pelkonen pelt...@gmail.com wrote: Hi! I don't know what I am doing wrong with this. I have two buttons configured like this: button_1 = hildon.Button(gtk.HILDON_SIZE_AUTO,hildon.BUTTON_ARRANGEMENT_VERTICAL,

python app at portrait mode all the time

2010-04-24 Thread peltsip
Hi, is there a single or two rows way to define a python app to stay at portrait mode all the time? Tried to look through autorotation stuff from portrait.py[1] but didn't manage to find anything that I could use straight on. http://talk.maemo.org/showthread.php?t=31940

python getting active hildon.TextView()

2010-04-26 Thread peltsip
Hi Is there a way to know which textview is active (where the cursor blinks)? Didn't manage to find anything within python docs. Is it only my search skills? Ossipena / TimoP ___ maemo-developers mailing list maemo-developers@maemo.org

VS: Re: python app at portrait mode all the time

2010-04-26 Thread peltsip
fortunately I have only one dialog: contact selection. it is pretty usable but annoying though when orientation jumps. I'll leave it be because there is much more work to do in order to get something else except A typed to the app @portrait :) Ossipena / Timo P - Alkuperäinen viesti

osso-abook

2010-04-29 Thread peltsip
Hi I am having troubles when I am trying to fetch sms -field from addressbook. My code is straight from there: http://wiki.maemo.org/PyMaemo/Accessing_APIs_without_Python_bindings and I don't have a clue how I can do anything except fetch the name. Does someone have a good tip for me? There

problem with python, gtk and utf8

2010-10-03 Thread peltsip
Hi! I am having a problem with dict(?!?) the code starts with: #!/usr/bin/env python # -*- coding: utf-8 -*- and the dict(?!?) is like this: letters = {} letters['1'] = ['', '.', ',', '?', '!', '1', '@', '-', '_', '(', ')', ':', ';', '', '%', '*', '#', '+', '', '=', '', '$', '£',

qmessage and utf8

2010-10-29 Thread peltsip
Hi, with your tips I got utf8 stuff working all around the application except QMessage. Sending and other qmessage- stuff is working well but umlauts are in wrong charset when sending. What is supposed to be output for those preferredCarsets? They return only blank line. mesitsi =