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
GClosureto 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
GtkExpressionthat callsclosurewhen it is evaluated.closureis called with thethisobject and the results of evaluating theparamsexpressions.