[pygtk] The glade3+GtkComboboxText

Dieter Verfaillie dieterv at optionexplicit.be
Tue Apr 12 17:04:01 WST 2011


Quoting ??? <lgxwqq at gmail.com>:

> My OS is  Archlinux,i'm using glade3 and python2.7 to program.
> I use glade3 to make xml file.In glade3,i draw a
> GtkComboBoxText,while in the glade xml file,it is "<object  
> class="GtkComboBoxText"
> id="addservercomboboxtext">"
> however,when i wanna run my program,it promote that
> "glib.GError: Invalid object type
> `GtkComboBoxText"?

GtkComboBoxText is new in both GTK+ 2.24 and PyGTK 2.24 so you'd
have to check if you have both installed on your system.

Glade also has a nice feature where you can check your project for
toolkit versions/deprecations. It's hidden under Edit/Preferences.
Glade 3.8.0 supports GTK+ 2.8 up to 2.24.

mvg,
Dieter

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the pygtk mailing list