Re: using libglademm
Murray Cumming <[email protected]> Sat, 16 Apr 2005 19:34:58 +0200
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2005-04-16 at 19:18 +0200, Pawe=C5=82 Bugalski wrote: > hi, > I'm new to gtkmm and I have following questions for which I couldn't fi= nd=20 > 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=20 > how to deinstantiate it, so the memory used by it and its children will= be=20 > 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 th= an add=20 > this button to container instantiated using libglademm? Yes. --=20 Murray Cumming [email protected] www.murrayc.com www.openismus.com