Re: Checkbox+Option gadgets dont mention any EventTypes
Posted: Mon Sep 14, 2015 6:21 pm
Gadgets that only have a single type of event return 0 from EventType() and are not mentioned on the EventType() page. Just like the ButtonGadget() which has only the "pressed" event.
Both checkbox and option gadget work this way. They fire an event when the user interacts with them, but EventType() returns 0 because this is the only event for the gadget.
Both checkbox and option gadget work this way. They fire an event when the user interacts with them, but EventType() returns 0 because this is the only event for the gadget.