[Gtk-sharp-list] Signal handlers and the out keyword:

Mike Kestner mkestner@speakeasy.net
06 Jun 2003 17:13:08 -0500

On Wed, 2003-06-04 at 12:55, Mark Crichton wrote:

> <signal name="NewWindow" cname="new_window" when="FIRST">
>    <return-type type="void"/>
>    <parameters>
>        <parameter type="GtkMozEmbed*" name="embed"/>
>        <parameter type="GtkMozEmbed**" name="newEmbed" pass_as="out"/>
>        <parameter type="guint" name="chromemask"/>
>    </parameters>
> </signal>

Yeah, the generator is not aware of out parameters in signals.  Thought
never occurred to me, to be honest.  Pretty ugly API.  Might be better
off hiding that and hand coding a wrapper.  It's such a special case I
don't think it's worth putting in the generator.