set_connect_func
Description:
[ CCode ( cname = "gtk_widget_class_set_connect_func" ) ]
[ Version ( since = "3.10" ) ]
public class void set_connect_func (owned BuilderConnectFunc connect_func)
[ Version ( since = "3.10" ) ]
public class 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:
this |
A Widget |
connect_func |
The BuilderConnectFunc to use when connecting signals in the class template |
connect_data |
The data to pass to |
connect_data_destroy |
The DestroyNotify to free |