[maemo-developers] Using glade and adding dateedit widget to python
From: Clif Kranish ckran at soon.comDate: Sun Apr 6 19:34:45 EEST 2008
- Previous message: opencv for arm WAS: signedness of char on ARM vs x86
- Next message: GNUmed on N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I coudln't find doc for this but I did figure it out looking at code I found. With "Entires" the name of my table in Glade the trick is to leave a cell EMPTY and then fill it in the program, depending on whether running on the table or not. if HILDON: self.edDate = hildon.DateEditor() self.entries.attach(self.edDate, 1, 2, 5, 6, gtk.EXPAND, gtk.EXPAND) else: self.enDate = gtk.Entry() self.entries.attach(self.enDate, 1, 2, 5, 6, gtk.EXPAND, gtk.EXPAND) -- Want an e-mail address like mine? Get a free e-mail account today at www.mail.com! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080406/23f3cd82/attachment.htm
- Previous message: opencv for arm WAS: signedness of char on ARM vs x86
- Next message: GNUmed on N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]