Gtk.CClosureExpression¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gtk.CClosureExpression¶
- Bases:
- Abstract:
No
A variant of
GtkClosureExpression
using a C closure.- classmethod new(value_type, marshal, params, callback_func, *user_data)[source]¶
- Parameters:
value_type (
GObject.GType
) – the type of the value that this expression evaluates tomarshal (
GObject.ClosureMarshal
orNone
) – marshaller used for creating a closureparams ([
Gtk.Expression
]) – expressions for each parametercallback_func (
GObject.Callback
) – callback used for creating a closureuser_data (
object
orNone
) – user data used for creating a closure
- Returns:
a new
GtkExpression
- Return type:
Creates a
GtkExpression
that callscallback_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 givencallback_func
,user_data
anduser_destroy
.