Builder.createClosure

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 string

name of the function to look up

flags gtk.types.BuilderClosureFlags

closure creation flags

object gobject.object.ObjectG

Object to create the closure with

Return Value

Type: gobject.closure.Closure

A new closure for invoking function_name