On Fri, 2012-03-02 at 12:02 +0100, sylvain mouquet wrote:
> 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 ?
Probably not much difference between this an using Glade with custom
widgets.
<http://www.pygtk.org/articles/custom-widgets-glade/Custom_PyGTK_Widgets_in_Glade3-part-2.html>
Maybe.
--
System & Network Administrator [ LPI & NCLA ]
<http://www.whitemiceconsulting.com>
OpenGroupware Developer <http://www.opengroupware.us>
Adam Tauno Williams
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/