-
Notifications
You must be signed in to change notification settings - Fork 3
EmuCallback
Michael edited this page Jun 12, 2020
·
3 revisions
Many Emu elements use callbacks to define their behavior when they receive input such as a mouse click or value change. This is an intermediate (pseudo-abstract) class with some additional helpful methods which are only really important if you are adding new elements types.
It is not meant to be instantiated directly, and as such its methods will not be documented here.
Returns: N/A
Parameter | Type | Description |
---|---|---|
value | depends on the element type | The new value you wish to set |
Set the value of the element. The type of the value (real number, integer, boolean, color, string, etc) depends on the element.
EmuCallback is the base class for all elements that can receive and / or store input.