Re: GtkGC shared auto-release
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: GtkGC shared auto-release
- Date: Sat, 22 Dec 2007 10:08:24 +1100
Torsten Schoenfeld <kaffeetisch gmx de> writes:
How about calling the package Gtk2::Ex::GCPool or similar?
That could be ok.
That is, have Gtk2::Ex::GCPool->get bless the gc
into Gtk2::Ex::GCPool::CustomGC and put the @ISA mangling and DESTROY in
that package.
That'd make live easier for further subclassing would it?
Apart from the "get" to create I've only got in mind a "new" with a
slightly friendlier interface so you can just say a widget or window
instead of digging out colormap and depth explicitly.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]