CClosureExpression
Description:
[ CCode ( has_construct_function = false , type = "GtkExpression*" ) ]
public CClosureExpression (Type value_type, ClosureMarshal? marshal, owned Expression[] @params, Callback callback_func, void* user_data, ClosureNotify? user_destroy)
public CClosureExpression (Type value_type, ClosureMarshal? marshal, owned Expression[] @params, Callback callback_func, void* user_data, ClosureNotify? user_destroy)
Creates a `GtkExpression` that calls `callback_func` when it is evaluated.
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`.
Parameters:
| value_type |
the type of the value that this expression evaluates to |
| marshal |
marshaller used for creating a closure |
| callback_func |
callback used for creating a closure |
| n_params |
the number of params needed for evaluating |
| params |
expressions for each parameter |
| user_data |
user data used for creating a closure |
| user_destroy |
destroy notify for |
Returns:
|
a new `GtkExpression` |