create_closure
Description:
public Closure? create_closure (string function_name, BuilderClosureFlags flags, Object? object) throws Error
Creates a closure to invoke the function called function_name.
This is using the create_closure implementation of this's [iface@Gtk.BuilderScope].
If no closure could be created, null will be returned and throws will be set.
Parameters:
| this |
a `GtkBuilder` |
| function_name |
name of the function to look up |
| flags |
closure creation flags |
| object |
Object to create the closure with |
Returns:
|
A new closure for invoking |