bind_template_callback_full


Description:

[ CCode ( cname = "gtk_widget_class_bind_template_callback_full" ) ]
public class void bind_template_callback_full (string callback_name, Callback callback_symbol)

Declares a callback_symbol to handle callback_name from the template XML defined for widget_type.

This function is not supported after [method@Gtk.WidgetClass.set_template_scope] has been used on this. See [ method@Gtk.BuilderCScope.add_callback_symbol].

Note that this must be called from a composite widget classes class initializer after calling [method@Gtk.WidgetClass.set_template].

Parameters:

this

A `GtkWidgetClass`

callback_name

The name of the callback as expected in the template XML

callback_symbol

The callback symbol