Re: GtkBuilderConnectFunc and <signal> tag
- From: Tristan Van Berkom <tvb gnome org>
- To: Johan Dahlin <johan gnome org>
- Cc: Christian Persch <chpe gnome org>, gtk-devel-list gnome org
- Subject: Re: GtkBuilderConnectFunc and <signal> tag
- Date: Wed, 13 Jun 2007 13:50:19 -0400
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]