Class method

GtkWidgetClassbind_template_callback_full

since: 3.10

Declaration [src]

void
gtk_widget_class_bind_template_callback_full (
  GtkWidgetClass* widget_class,
  const gchar* callback_name,
  GCallback callback_symbol
)

Description [src]

Declares a callback_symbol to handle callback_name from the template XML defined for widget_type. See gtk_builder_add_callback_symbol().

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

callback_name

Type: const gchar*

The name of the callback as expected in the template XML.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
callback_symbol

Type: GCallback

The callback symbol.