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

Renaud Malaval Renaud.Malaval at palmsource.com
Tue May 16 11:55:21 EDT 2006


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


More information about the Glade-users mailing list