Getting rid of ListStores
- From: "John M. Burian" <john burian org>
- Cc: gtk-perl-list gnome org
- Subject: Getting rid of ListStores
- Date: Tue, 12 Dec 2006 09:22:35 -0500
I have an application that creates and destroys a fair number of
ComboBoxes, each of which requires a TreeModel (I'm using ListStores). I
understand that I can use the same model for multiple ComboBoxes. The
question is, ListStores aren't widgets, they don't have a destroy()
method, so do they behave like plain ol' Perl data structures? That is,
they persist so long as a reference is being held somewhere, but then
get automatically garbage collected? Is Gtk okay with that?
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]