set_connect_func


Description:

[ Version ( since = "3.10" ) ]
public static void set_connect_func (owned BuilderConnectFunc connect_func)

For use in language bindings, this will override the default BuilderConnectFunc 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 set_template.

Parameters:

connect_func

The BuilderConnectFunc to use when connecting signals in the class template

connect_data

The data to pass to connect_func

connect_data_destroy

The DestroyNotify to free connect_data, this will only be used at class finalization time, when no classes of type widget_type are in use anymore.

widget_class

A Widget