Re: Arbitrary number of child windows



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]