mixing glade and subclassed dialogs



Hi list,
Just wondering if there was a way I could design a dialog box in glade, then 
create a class in my code like this:

class Gtk::Dialog : public MyDialog {
  MyDialog() :
  Dialog() {
     //setup widgets here from xml.
  }
};

and somehow implement all the functionality for my dialog in that class and at 
the same time have the xml do all the widget setup.

the problem I see is that the xml dialog already has a dialog when it is 
created, so how can I tell gtk builder to use my subclass dialog and not the 
from from gtk builder...

thanks!
-Chris


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