Re: [gtkmm] Glib::RefPtr also for Widgets?
- From: Murray Cumming <murrayc usa net>
- To: Christof Petig <christof petig-baender de>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Glib::RefPtr also for Widgets?
- Date: 20 Sep 2002 14:30:22 +0100
On Fri, 2002-09-20 at 13:38, Christof Petig wrote:
> Hi,
>
> since I'm again trying to clean up the way glademm handles it's toplevel
> widgets, I dare to ask a directional question:
>
> Which is the recommended way to create and destroy toplevel widgets
> (widgets which are not children of another widget (these are handled
> well via manage))?
You can not use manage() with top-level widgets, such as Windows and
Dialogs, and you will see a warning if you try. That just leaves you
with all the regular C++ memory management techniques.
--
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]