Century Embedded Technologies Nano-X SDK and Developer's Guide | ||
---|---|---|
Prev | Appendix C. Enumeration Reference | Next |
The following constants determine when a callback is performed:
FL_WHEN_NEVER - Never call the callback (0).
FL_WHEN_CHANGED - Do the callback only when the widget value changes.
FL_WHEN_NOT_CHANGED - Do the callback whenever the user interacts with the widget.
FL_WHEN_RELEASE - Do the callback when the button or key is released and the value changes.
FL_WHEN_ENTER_KEY - Do the callback when the user presses the ENTER key and the value changes.
FL_WHEN_RELEASE_ALWAYS - Do the callback when the button or key is released, even if the value doesn't change.
FL_WHEN_ENTER_KEY_ALWAYS - Do the callback when the user presses the ENTER key, even if the value doesn't change.