Re: Arbitrary number of child windows
- From: Holger Berndt <berndth gmx de>
- To: paul linuxaudiosystems com
- Cc: gtkmm-list gnome org
- Subject: Re: Arbitrary number of child windows
- Date: Sat, 10 May 2008 23:25:41 +0200
On Sa, 10.05.2008 17:11, Paul Davis wrote:
>> How do other people write their self-destructing child windows?
>
>template<class T> bool idle_deleter (T* ptr) { delete ptr; return
>false; }
>
>Glib::signal_idle.connect (sigc::bind (sigc::ptr_fun
>(idle_deleter<Window>), aWindow);
>
>done.
Very good idea indeed! Thanks, Paul.
Holger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]