Re: GtkBuilderConnectFunc and <signal> tag



On Wed, 2007-06-13 at 13:25 -0300, Johan Dahlin wrote:
[...]
> Let's do something a little cleaner and more flexible;
> 
> typedef void (*GtkBuilderConnectFunc) (GtkBuilder   *builder,
> 				       const gchar  *handler_name,
> 				       GObject      *object,
> 				       const gchar  *signal_name,
> 				       const GValue *signal_user_data,
> 				       GConnectFlags flags,
> 				       gpointer      user_data);
> 
> and;
> 
>  <signal name=".*" handler=".*" after="bool" swapped="bool"
>          user_type="type" user_data=""/>
> 
> user_type would take a GType name, if it's derived from G_TYPE_OBJECT
> user_data will be treated an object reference, similar to other
> object properties.
> 
> Would that be enough?

That would be perfect :)

Cheers,
               -Tristan





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