| Class | Fox::FXMenuCheck |
| In: |
rdoc-sources/FXMenuCheck.rb
lib/fox12/core.rb |
| Parent: | FXMenuCommand |
The FXMenuCheck widget is used to change a state in the application from a menu. Menu checks may reflect the state of the application by graying out, becoming hidden, or by a check mark.
The following messages are sent by FXMenuCheck to its target:
| SEL_KEYPRESS: | sent when a key goes down; the message data is an FXEvent instance. |
| SEL_KEYRELEASE: | sent when a key goes up; the message data is an FXEvent instance. |
| SEL_COMMAND: | sent when the command is activated |
| boxColor | [RW] | Box background color [FXColor] |
| check | [RW] | Check state, one of TRUE, FALSE or MAYBE |
Return true if the check state for this menu check item is TRUE, or false if the check state is either FALSE or MAYBE.
Return true if the check state for this menu check item is MAYBE, or false if the check state is either TRUE or FALSE.