Re: [gtkmm] Proper way to close and destroy a custom window



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]