[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



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