Builder.createClosure

Creates a closure to invoke the function called @function_name.

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

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

class Builder
createClosure
(,
GtkBuilderClosureFlags flags
,)

Parameters

functionName string

name of the function to look up

flags GtkBuilderClosureFlags

closure creation flags

object ObjectG

Object to create the closure with

Return Value

Type: Closure

A new closure for invoking @function_name

Throws

GException on failure.

Meta