i extended python to my own widgets inherited from gtk.
But when i try to run command
Expand|Select|Wrap|Line Numbers
- python2.5 -c "import mygtk"
Expand|Select|Wrap|Line Numbers
- "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 -- > GtkMyDisplayable --> GtkMyScreen --> GtkMyList --> GtkMyFileBrowser
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