Greg Ewing wrote:
> Taki Jeden wrote:
>
>> class view_tree_model(gtk.GenericTreeModel,gtk.TreeSortable):
>>
>> raises a "TypeError: multiple bases have instance lay-out conflict"
>> Is this a bug in gtk, or python-gtk, or something?
>
> It's not a bug, it's a limitation of the way Python
> hand
One way to get around this would be to omit the TreeSortable interface
and use TreeModelSort to do the sorting instead. It doesn't look like
GenericTreeModel is designed to also support the TreeSortable
interface (you would need something like GenericTreeSortable since you
would need some magic to
Taki Jeden wrote:
> class view_tree_model(gtk.GenericTreeModel,gtk.TreeSortable):
>
> raises a "TypeError: multiple bases have instance lay-out conflict"
> Is this a bug in gtk, or python-gtk, or something?
It's not a bug, it's a limitation of the way Python
handles inheritance from built-in typ
Hi
I'm trying to install a certain python program which uses gtk, and the
following line:
class view_tree_model(gtk.GenericTreeModel,gtk.TreeSortable):
raises a "TypeError: multiple bases have instance lay-out conflict"
Is this a bug in gtk, or python-gtk, or something? I know of people who run