[maemo-developers] To use or not to use Glade to design GUI for Maemo applications...
From: Levi Bard taktaktaktaktaktaktaktaktaktak at gmail.comDate: Tue Nov 20 15:05:01 EET 2007
- Previous message: To use or not to use Glade to design GUI for Maemo applications...
- Next message: To use or not to use Glade to design GUI for Maemo applications...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > This is the method I'm using for my C and Ruby Gtk apps as well: > > create the UI using glade, then if necessary reparent the toplevel > > container to a hildon window, and manually replace any other widgets > > (e.g. GtkSpinButton => HildonNumberEditor) in code. It's less optimal > > how can I reparent to another class a dinamically created object? Something like: #You'll have to check for maemo yourself, perhaps check for /etc/osso_software_version if HILDON: window = hildon.Window() window.set_title(oldwindow.get_title()) mycontainer.reparent(window) window.show_all() oldwindow.hide() -- "Tak does not require that we think of Him, only that we think." --Grag Bashfullsson http://www.gnu.org/philosophy/shouldbefree.html
- Previous message: To use or not to use Glade to design GUI for Maemo applications...
- Next message: To use or not to use Glade to design GUI for Maemo applications...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]