RE: [gtkmm] Libglademm and templates



It worked, thanks for the quick answer, but I'm wondering how affects the 
performance to create
several Glade::Xml 

The function Gnome::Glade::Xml::create reads the file every time I call it 
or there is some buffering?



On Mon, 13 Oct 2003 Murray Cumming Comneon com wrote:

> > 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
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 

-- 
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
                 Sergio Pascual Ramírez       spr astrax fis ucm es
               Tf: (+34)  91-394-50-18      Fax: (+34)  91-394-46-35
                      Dept. Astrofísica Facultad de C.C. Físicas 
                          Universidad Complutense de Madrid
                                 28040 Madrid (Spain)
 ------------------------------------------------------------------------------
        - Yo también quiero una Europa libre de Patentes de Software -
        --------------------------------------------------------------
        EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es 
        --------------------------------------------------------------
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>



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