bind_template_callback_full


Description:

[ CCode ( cname = "gtk_widget_class_bind_template_callback_full" ) ]
[ Version ( since = "3.10" ) ]
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.

See add_callback_symbol.

Note that this must be called from a composite widget classes class initializer after calling set_template.

Parameters:

this

A Widget

callback_name

The name of the callback as expected in the template XML

callback_symbol

The callback symbol




2022 vala-language.org