hi
i extended python to my own widgets inherited from gtk.
But when i try to run command
it displays following error
my widget heirarchy is as shown
GtkVBox -- > GtkMyDisplayabl e --> GtkMyScreen --> GtkMyList --> GtkMyFileBrowse r
what i think is python is trying to initialize GtkMyList first before its parent thats why the error "instance lay-out conflict". If i m correct than can any one help me out with a question:: how to serialize the initialization process? (ie parent class gets initialized before child class.) And if i m wrong than whats this error for?
kindly help
Varun
i extended python to my own widgets inherited from gtk.
But when i try to run command
Code:
python2.5 -c "import mygtk"
Code:
"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)
"
GtkVBox -- > GtkMyDisplayabl e --> GtkMyScreen --> GtkMyList --> GtkMyFileBrowse r
what i think is python is trying to initialize GtkMyList first before its parent thats why the error "instance lay-out conflict". If i m correct than can any one help me out with a question:: how to serialize the initialization process? (ie parent class gets initialized before child class.) And if i m wrong than whats this error for?
kindly help
Varun
Comment