Re: [gtk-list] Re: Perl comments



Kenneth Albanowski <kjahds@kjahds.com> writes:
>
> I see no reason why the return value should not be handled exactly as a
> "GTK_ARG_OUT" parameter (as you describe below) would be in the set of
> input parameters. This simplies everything, IMO.

Yes.
 
> timeout_add_interp and idle_add_interp, yes. But gtk_signal_set_funcs
> still uses a GtkSignalMarshaller instead of a GtkCallbackMarshaller.

gtk_signal_set_funcs should be removed, I think.  Use
gtk_signal_connect_interp instead.

> Also, init callbacks aren't processed through the marshaller yet. Just
> about everything else is, though.

What are they used for, anyway?

> Maybe two bits of the type field could be reserved, so that GTK_ARG_OUT or
> GTK_ARG_INOUT can optionally added to the type value. GTK_ARG_IN would be
> the default, of course.

Yes.  It would certainly complicate the handling of the type system,
but that's unavoidable.  There aren't many spots in Gtk where this
would matter, I think.



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