Re: What's a boxed type? (was Re: binding how-to)
- From: Joe Smith <jes martnet com>
- To: gtk-perl-list gnome org
- Subject: Re: What's a boxed type? (was Re: binding how-to)
- Date: Fri, 15 Aug 2003 18:33:34 -0400
muppet wrote:
...(Some crazy stuff ;-) ...
Cool.
So, Glib provides the abstract class which Gdk/Gtk uses to wrap things
like X or OS structures so the (wrapped) structs can be used by methods
designed to operate on GObjects.
Then, on top of that, Gtk2-Perl provides a Perl wrapper, which may be a
simple SV wrapper around a C pointer, or an interface to/from a Perl
hash or array.
Is that close?
What's the purpose (for Glib now) in providing a generic 'GBoxed' class
over a GObject with the struct attached as user data?
Thanks for the nice explanation!
<Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]