Re: using libglademm
- From: Murray Cumming <murrayc murrayc com>
- To: pb101 o2 pl
- Cc: gnomemm-list <gnomemm-list gnome org>
- Subject: Re: using libglademm
- Date: Sat, 16 Apr 2005 19:34:58 +0200
On Sat, 2005-04-16 at 19:18 +0200, Paweł Bugalski wrote:
> hi,
> I'm new to gtkmm and I have following questions for which I couldn't find
> answer:
> - what is the correct way to load for example GtkFrame from .glade file,
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch19.html
> and
> how to deinstantiate it, so the memory used by it and its children will be
> free?
If it's a child widget then it will be owned by the container into which
you put it, because libglademm creates manage()ed widgets.
If it's a top level Window then just delete it whenever you want.
> - can i use manage() function on button I've created in C++ code and than add
> this button to container instantiated using libglademm?
Yes.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]