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:
GtkBuilderConnectFuncThe
GtkBuilderConnectFuncto use when connecting signals in the class template. connect_data-
Type:
gpointerThe 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:
GDestroyNotifyThe
GDestroyNotifyto freeconnect_data, this will only be used at class finalization time, when no classes of typewidget_typeare in use anymore.