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)

Associates a name to be used in GtkBuilder XML with a symbol.

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 widget class

callback_name

name of the callback as expected in the template XML

callback_symbol

the callback symbol