[Glade-users] gtkbuilder and glade - gobjects / pygtk objects



On 22.06.2009, at 23:01, Mats Taraldsvik wrote:

self.previewStore = gtk.ListStore( str, object )

Try the constant gobject.TYPE_OBJECT or the string 'GObject'

self.previewView.append_column(col)

That returns the number of columns. Maybe the new XML has one too many?

However, with gtkbuilder, I get a "TypeError: value is of wrong type  
for this column"

 From where, the model ot the view? What is the line Python claims  
raised the error?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]