createClosure

open fun createClosure(functionName: String, flags: BuilderClosureFlags, object: <Error class: unknown class>? = null): <Error class: unknown class><<Error class: unknown class>?>

Creates a closure to invoke the function called @function_name.

This is using the create_closure() implementation of @builder's iface@Gtk.BuilderScope.

If no closure could be created, null will be returned and @error will be set.

Return

A new closure for invoking @function_name

Parameters

functionName

name of the function to look up

flags

closure creation flags

object

Object to create the closure with