Hello all,
I have a project built on glade, gtk+ 2.6 and pygtk. My intention is to update it to more recent version in order to manage changes. I also would like to use gtkbuilder instead on libglade to remove dependency from this: http://kefir.sourceforge.net/tepache/SimpleGladeApp.html.
I have executed the following:
- migrated project.glade UI to project.ui with gtk-builder-convert. Fixed duplicated id-s. It went OK
- changed all gtkdialog window types to "popup". Only main window has attribute window type = "Top Level"
- created separate helper.py file to describe Handler signals
- here is my main window initialization part:
def run(self): builder = gtk.Builder() builder.add_from_file("project.ui") builder.connect_signals(Handler()) wMain = builder.get_object("wMain") wMain.show_all() gtk.main()
- This runs, but side effects are the following:
May be I am doing something completely wrong. I am new to GTK+ development and these simple task fail scare me a bit.
Thank you for help,
Vadim.
|