[Glade-users] Native Python objects in ListStore

I've been using the new GtkBuilder features in Glade3 to edit
ListStores, create columns and column types. Now I need to create a
column which can contain Python objects. Before, when creating
ListStores with Python code, I could just use the native 'object' type
in the ListStore constructor but in the Glade3 combo box for column
type, of course there are no native python types. I've tried adding
gpointer, hoping PyGTK would somehow convert it to a python object but
that does not work.

How would I best create ListStore columns which can contain Python
objects with Glade3?

/Martin V

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