[pygtk] Error while extending python to gtk widget

varun_shrivastava shrivastavavarun at yahoo.co.in
Fri Aug 10 14:27:04 WST 2007


hi
i have inherited my own widgets from GtkVbox and i m extending python to it.
But when i try to import my module it displays following error message

"TypeError: mro() returned base with unsuitable layout ('gtkmy.MyChoice')"
...
..

"** (-c:13962): WARNING **: couldn't make the type `gtkmy.MyList' ready"
"TypeError: multiple bases have instance lay-out conflict
(!) [13962:   33.658] --> Caught signal 11 (at (nil), invalid address) <--
(!) Direct/Thread: Canceling 'Fusion Dispatch' (13964)!
Aborted (core dumped)
"

my widget heirarchy is as shown
GtkVBox -- >  GtkMyDisplayable --> GtkMyScreen --> GtkMyList -->
GtkMyFileBrowser

kindly help

Varun
-- 
View this message in context: http://www.nabble.com/Error-while-extending-python-to-gtk-widget-tf4246917.html#a12086001
Sent from the Gtk+ - Python mailing list archive at Nabble.com.



More information about the pygtk mailing list