Re: [gtkmm] Proper way to close and destroy a custom window
- From: Murray Cumming <murrayc murrayc com>
- To: Find All <find_all hotmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Proper way to close and destroy a custom window
- Date: Tue, 30 Mar 2004 14:16:58 +0200
On Tue, 2004-03-30 at 13:54, Find All wrote:
> I know this is a extremely 'newbie' question but :
>
> What is the proper way to close (and destroy) a custom window?
Close a window with Gtk::Widget::hide().
Destroy it with usual C++ memory management techniques
- delete it if you newed it.
- let it go out of scope if you created it as a class member instance or
method member instance.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]