On Mon, 2008-06-16 at 02:36 -0700, johnmb wrote:
> With help from members of this group, all is running well with glade and
> libglademm for me - my thanks to all who contributed.       =)
> 
> I have a couple of questions remaining:-
> 
> 1.)  As the XML structure loaded by libglade from the glade file is referred
> to by a Glib::Refptr autopointer, I assume that the structures are
> automatically destroyed for me once the structure loses scope.

I guess you are talking about the widgets. They are not deleted when the
Glade::Xml is destroyed:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-libglademm-accessing-widgets.html

>   However, do
> I have to set the "auto-destroy" parameter in all relevant widgets to do so
> ? or is this parameter not relevant and the destruction occurs anyway ?

There is no such parameter that I know of.

> 2.)   The answer to this looks likely to be no but it is worth asking just
> in case,   can I add styles to widgets such as Gtk::Labels for fonts and
> Gtk::Windows for background colours etc. within glade  ?


-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to