[pygtk] Pygtk + glade + inheritance
sylvain mouquet
sylvain.mouquet at gmail.com
Fri Mar 2 19:02:29 WST 2012
Hi,
I am looking for a solution for using pygtk and glade with the inheritance.
In glade, i create a new GtkWindow with a GtkButton. In python, i create a
glade builder and i catch the button in a variable :
mybutton = builder.get_objet("button1")
i wish to use my own GtkButton like gtkmm :
DerivedButton* dbutton = 0;
builder->get_widget_derived("button1",dbutton);
(cf
http://developer.gnome.org/gtkmm-tutorial/3.2/sec-builder-using-derived-widgets.html.en
)
It's possible to do this ?
Cordially,
Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120302/e3f0326e/attachment.html>
More information about the pygtk
mailing list