[Glade-users] how to allow widgets to be added to custom widgets

I've been very successful in creating custom widgets. I'd like to add
the ability to allow users to add more widgets to my custom widgets.
For example, I'd like my widget to have a "placeholder" that will
allow users to add any other widget, VBox, Button, etc. to my custom



is what I've attempted to follow. However, the methods described here
appear to be obsolete. "import glade" no longer exists. "import
gtk.glade" does not have get_adaptor_for_type.
gobject.new('GladePlaceholder') fails.

What's the right way to do this today? This is on an up-to-date Ubuntu
Maverick box.



Visit our website: http://software6.net/
Follow us on Twitter: http://twitter.com/software6

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]