func_maxgui_buttons_buttonstate.rst 651 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_maxgui_buttons_buttonstate:
  2. ===========
  3. ButtonState
  4. ===========
  5. ButtonState -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. ButtonState( button:TGadget )
  10. Retrieve a Button's state.
  11. Returns a non-zero value if a checkbox or radio button is selected or false if it isn't.
  12. On certain platforms, if a checkbox is set using #SetButtonState to have an indeterminant
  13. state (CHECK_INDETERMINATE), then this function will return CHECK_INDETERMINATE too.
  14. See Also: #CreateButton, #SetGadgetText, #SetButtonState and #SetGadgetPixmap.
  15. Parameters
  16. ==========
  17. Return Values
  18. =============
  19. Nothing.
  20. Examples
  21. ========
  22. See Also
  23. ========