[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: cellrenderer GET_SIZE super method
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: cellrenderer GET_SIZE super method
- Date: Mon, 30 Jun 2008 09:33:57 +1000
Torsten Schoenfeld <kaffeetisch gmx de> writes:
>
> a Perl class that inherits from a C class that inherits from a Perl
> class.
What about a completely different attack. When creating a perl
subclass, look at the superclass and see if it's perl too. If not then
stick in GET_SIZE / EDITABLE / etc funcs in that superclass calling the
corresponding class funcs (in that superclass). If the XSANY.any_dptr
thingie pointed to the class struct then a single GET_SIZE xsub could be
re-used for any class.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]