[Glade-users] Question How to create new widget using libglade ?

Renaud Malaval Renaud.Malaval at palmsource.com
Tue Jun 6 11:56:09 EDT 2006


Hello,

 Did somebody get an idea if it is possible to make a new widget using
glade and libglade to discribe it ?
 Or is this idea completely crazy ?

Regards,
Renaud

> -----Original Message-----
> From: glade-users-bounces at lists.ximian.com 
> [mailto:glade-users-bounces at lists.ximian.com] On Behalf Of 
> Renaud Malaval
> Sent: Tuesday, May 16, 2006 17:55
> To: glade-users at ximian.com
> Subject: [Glade-users] Question How to create new widget 
> using libglade ?
> 
> Hi,
> 
>  I want to create a new widget that is a subclass of gtk_dialog.
>  I created my widget dialog using glade, and try to use 
> libglade to load and initialise it.
> 
>  If I clone my dialog subclass code from gtk_dialog_about, 
> when I instantiate mu new widget I got two windows (one empty 
> and one with my UI).
>  
>  Where does I make call to glade_xml_new() ?
>  Is it around foo_dialog_get_type ?
>  Is it possible to do something like that ?
>  Any idea is welcome.
> 
> Cordially,
> Renaud
> _______________________________________________
> Glade-users maillist  -  Glade-users at lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/glade-users
> 


More information about the Glade-users mailing list