Variable#
- class ignis.variable.Variable(value: Any = None)#
Bases:
IgnisGObject
Simple class that holds a value.
Example usage:
from ignis.variable import Variable var = Variable(value=10) var.connect("notify::value", lambda x, y: print("Value changed!: ", x.value)) var.value = 20