Builder.createClosure
gobject.closure.Closure createClosure(string functionName, gtk.types.BuilderClosureFlags flags, gobject.object.ObjectWrap object = null)Creates a closure to invoke the function called function_name.
This is using the create_closure() implementation of builder's [gtk.builder_scope.BuilderScope].
If no closure could be created, null will be returned and error will be set.
Parameters
functionName | name of the function to look up |
flags | closure creation flags |
object | Object to create the closure with |
Returns
A new closure for invoking function_name
Throws
[ErrorWrap]