![]() |
Diablo Python has no gtk.glade?
I just refreshed the application list and updated everything, which installed a new version of python. Unfortunately, this version seems to not include the gtk.glade python module. Anyone else have this problem?
|
Re: Diablo Python has no gtk.glade?
Quote:
Code:
Nokia-N810-23-14:~# python |
Re: Diablo Python has no gtk.glade?
Ah, but I have a different build date of python than you do. Anyway, just seems to be some diablo extras growing pains. I'm guessing it'll be fixed in the next day or two, and if not, I'll file a bug.
Code:
/home/user # python |
Re: Diablo Python has no gtk.glade?
I have got exactly the same problem as you. Hope this is fixed soon.
|
Re: Diablo Python has no gtk.glade?
Please post a bug report if you want it fixed.
Glade was being depreciated in favor of Gtk.Builder. I switched on app to it and it's not that hard to do. |
Re: Diablo Python has no gtk.glade?
I opened a bug in the pymaemo tracker.
|
Re: Diablo Python has no gtk.glade?
Quote:
|
Re: Diablo Python has no gtk.glade?
Quote:
Convert the glade file in a xml file understandable for gtk.builder (there is a script called gtk-builder-convert). At the moment Glade doesn't have support for the gtkbuilder files, but it's in its todo list. And then in python code: builder = gtk.Builder() builder.add_from_file('the new xml file') builder.get_object do the same thing as gladetree.get_widget gtk.builder is available in the gtk module, so it's not necessary to install anything. |
Re: Diablo Python has no gtk.glade?
Excellent, thanks! I'll look into converting Erminig to gtk.builder() :)
|
Re: Diablo Python has no gtk.glade?
Not to be an indian giver... does the 770 support Gtk.Builder or is that limited to the gtk backport in OS2008?
|
All times are GMT. The time now is 17:00. |
vBulletin® Version 3.8.8