I'm still something of a neophyte to Gtk programming and it's a different
GUI paradigm than I'm used to. I've done a fair amount of Gtk proramming
in C lately (grr), but there's still a lot of holes.
So, here's a snippet:
self.win = GnomeApp('bidmeister_base', 'BidMeister')
self.win.set_wmclass('bidmeister_base', 'BidMeister Manager')
self.win.connect('destroy', mainquit)
self.win.set_title('BidMeister')
self.win.create_menus(self.createMenus())
self.vbox = GtkVBox(0,10)
self.win.add(self.vbox)
I get an exception on this last line (when it's running):
Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion
`bin->child == NULL' failed.
By which I *presume* it wants the window to have only the one child? Are
menus then a child? (I didn't think GtkWindow was one of the bin widgets
and therefore am having trouble figuring out what the problem is exactly).
--
_Deirdre * http://www.linuxcabal.net * http://www.deirdre.net
"Mars has been a tough target" -- Peter G. Neumann, Risks Digest Moderator
"That's because the Martians keep shooting things down." -- Harlan Rosenthal
<[EMAIL PROTECTED]>, retorting in Risks Digest 20.60
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]