[pygtk] Pygtk + glade + inheritance

sylvain mouquet sylvain.mouquet at gmail.com
Thu May 31 18:30:10 WST 2012


Hi,

And with pygobject it's possible to get get_widget_derived ?

Cordially,
Sylvain

2012/3/2 sylvain mouquet <sylvain.mouquet at gmail.com>

> 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
>



-- 
Cordialement,
Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20120531/d0984d58/attachment.html>


More information about the pygtk mailing list