Re: [gtk-list] Re: Callback Argument Marshalling
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Callback Argument Marshalling
- Date: Mon, 10 Aug 1998 00:48:00 -0400 (EDT)
On 9 Aug 1998, Marius Vollmer wrote:
> Kenneth Albanowski <email@example.com> writes:
> > On Thu, 6 Aug 1998 firstname.lastname@example.org wrote:
> > > How does it work with the low-level (GdkEvent) signals?
> > That's the rub: all passed structure pointers (like GdkEvent) will be
> > passed as a raw pointer, with type "pointer". Currently disambiguating
> > such types requires manual assistance, in some form or another.
> The Gtk type system is able to differentiate between random pointers
> (GTK_TYPE_POINTER) and pointers to specific structures (say GdkEvent,
> Uses of GTK_TYPE_POINTER naturally pose problems for programs that
> want to dynamically query the types of pointers, like interpreter
> bindings. So using GTK_TYPE_POINTER should be avoided whenever
> possible. I think most of Gtk+ is free of GTK_TYPE_POINTER.
Even in signal descriptors? If so, I _really_ need to get working on
Gtk/Perl for 1.1.x.
Kenneth Albanowski (email@example.com, CIS: 70705,126)
] [Thread Prev