Re: weakened userdata
- From: muppet <scott asofyet org>
- To: gtk2-perl List <gtk-perl-list gnome org>
- Subject: Re: weakened userdata
- Date: Tue, 1 Jan 2008 21:15:54 -0500
On Jan 1, 2008, at 6:18 PM, Kevin Ryde wrote:
Err, umm, so the executive summary would be "best to call
$widget->destroy explicitly", as opposed to worrying too much whether
merely dropping the last reference to a widget will cleanup it and its
components.
That should really only be necessary for toplevel windows and
unparented widgets. A parented widget (something that has been added
or packed into something else) will be destroyed (with ->destroy)
along with its parent.
--
Doing a good job around here is like wetting your pants in a dark
suit; you get a warm feeling, but no one notices.
-- unknown
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]