Re: [gtk-list] Re: Callback Argument Marshalling

On 9 Aug 1998, Marius Vollmer wrote:

> Kenneth Albanowski <> writes:
> > On Thu, 6 Aug 1998 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 (, CIS: 70705,126)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]