RE: [gtkmm] Libglademm and templates



> From: Sergio Pascual [mailto:spr astrax fis ucm es] 
> I have several repeated widgets and I have created a derived class to 
> manage them. Now I would like to load a part of the glade 
> file several 
> times and use it as a template. żIs this possible?
> 
> I have checked that subsequent calls to Glade::Xml::get_widget and 
> get_widget_derived return the same pointer.

Creating a new Glade::Xml instance for each widget should do it.

Murray Cumming
www.murrayc.com
murrayc usa net




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