Gtk.ClosureExpression¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gtk.ClosureExpression¶
- Bases:
- Abstract:
No
An expression using a custom
GClosure
to compute the value from its parameters.- classmethod new(value_type, closure, params)[source]¶
- Parameters:
value_type (
GObject.GType
) – the type of the value that this expression evaluates toclosure (
GObject.Closure
) – closure to call when evaluating this expression. If closure is floating, it is adoptedparams ([
Gtk.Expression
] orNone
) – expressions for each parameter
- Returns:
a new
GtkExpression
- Return type:
Creates a
GtkExpression
that callsclosure
when it is evaluated.closure
is called with thethis
object and the results of evaluating theparams
expressions.