Re: [gtk-list] Re: what's the opposite of the destroy signal?
- From: Tim Janik <timj gtk org>
- To: Havoc Pennington <rhp zirx pair com>
- cc: Gtk+ MList <gtk-list redhat com>
- Subject: Re: [gtk-list] Re: what's the opposite of the destroy signal?
- Date: Tue, 21 Dec 1999 05:40:27 +0100 (CET)
On 16 Dec 1999, Havoc Pennington wrote:
> GDK and X resources (things that require contacting the X server)
> should be created in the realize method (or later, as long as you
> check that the widget is realized) and destroyed in unrealize. Other
> resources should be created in your _init() function, in your _new()
> function, or simply whenever it's convenient, and destroyed in
> destroy() or whenever you no longer need them.
no resources should ever be allocated in the _new() implementations, every widget
that comes with a _new() functions that does more than creating the widget and
optionally setting some (construct) arguments in fundamentally broken.
>
> Havoc
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]