CClosureExpression.this

This function is a variant of [ctor@Gtk.ClosureExpression.new] that creates a GClosure by calling g_cclosure_new() with the given callback_func, user_data and user_destroy.

  1. this(GtkCClosureExpression* gtkCClosureExpression, bool ownedRef)
  2. this(GType valueType, GClosureMarshal marshal, Expression[] params, GCallback callbackFunc, void* userData, GClosureNotify userDestroy)

Parameters

valueType GType

the type of the value that this expression evaluates to

marshal GClosureMarshal

marshaller used for creating a closure

params Expression[]

expressions for each parameter

callbackFunc GCallback

callback used for creating a closure

userData void*

user data used for creating a closure

userDestroy GClosureNotify

destroy notify for @user_data

Return Value

a new GtkExpression

Throws

ConstructionException GTK+ fails to create the object.

Meta