Re: New 'GObject' as base for GtkObject?



Havoc Pennington <hp@redhat.com> writes:

> What about a signal-signature->marshaller lookup table used to find
> alternate marshallers.  Then an additional flag passed to
> gtk_signal_connect_still_more_full() that specifies which marshaller
> set to use. So default handlers and connections done with
> gtk_signal_connect() use the default marshaller still. C++ bindings
> could pass an instance/memberfunction pair instead of a GtkSignalFunc
> to connect_still_more_full(), and then provide marshallers that 
> invoked the instance/memberfunction pair.

How could an instance/method pair be handled by anything in
plain C ? Either the struct to put it in, or the function to use it ?

-- 
					Guillaume.
					http://www.worldnet.fr/~glaurent



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