Class method
GtkWidgetClassset_connect_func
since: 3.10
Declaration [src]
void
gtk_widget_class_set_connect_func (
GtkWidgetClass* widget_class,
GtkBuilderConnectFunc connect_func,
gpointer connect_data,
GDestroyNotify connect_data_destroy
)
Description [src]
For use in language bindings, this will override the default GtkBuilderConnectFunc
to be
used when parsing GtkBuilder XML from this class’s template data.
Note that this must be called from a composite widget classes class initializer after calling gtk_widget_class_set_template().
Available since: 3.10
Parameters
connect_func
-
Type:
GtkBuilderConnectFunc
The
GtkBuilderConnectFunc
to use when connecting signals in the class template. connect_data
-
Type:
gpointer
The data to pass to
connect_func
.The argument can be NULL
.The data is owned by the caller of the method. connect_data_destroy
-
Type:
GDestroyNotify
The
GDestroyNotify
to freeconnect_data
, this will only be used at class finalization time, when no classes of typewidget_type
are in use anymore.