Re: Subclassing Gtk2::CellRenderer
- From: Ross McFarland <rwmcfa1 neces com>
- To: Bjarne Steinsbø <bosteins broadpark no>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: Subclassing Gtk2::CellRenderer
- Date: Thu, 02 Oct 2003 08:16:46 -0400
On Thu, 2003-10-02 at 07:43, Bjarne Steinsbø wrote:
Thanks a lot, muppet. You're confirming my most pessimistic
suspicions. I took at quick look at the xs code (and even some gtk+
code) and I'm now starting to get a glimmer of understanding (and
appreciation) of the magic that goes on to make the perl interface work
so well as it does.
Still, wouldn't it be nice to be able to do anything you can do in C in
perl as well? Not necessarily making it simple to do in perl, but at
least possible? Some additional magic during code generation, maybe?
Exposing in special-purpose perl classes what you're doing your best to
hide in the normal case?
you might want to look around and see if anyone has already got code for
what you're looking for. it seems like a reasonable common thing to do.
either way you could totally implement the code in an XS files so you
wouldn't have to deal with the issues of installing a separate C library
and the wrappers for it. all of the C implementation would just go up at
the top, then a module line and the wrappers. in theory it shouldn't be
that hard to do, since you could use the existing combo widget, but once
again that's theory.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]