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



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 lists ximian com 
[mailto:glade-users-bounces lists ximian com] On Behalf Of 
Renaud Malaval
Sent: Tuesday, May 16, 2006 17:55
To: glade-users 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 lists ximian com 
http://lists.ximian.com/mailman/listinfo/glade-users




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