Class | Fox::FXTriStateButton |
In: |
rdoc-sources/FXTriStateButton.rb
|
Parent: | FXToggleButton |
The tri-state button provides a three-state button, which toggles between the on and the off state each time it is pressed. Programmatically, it may also be switched into the MAYBE state. The MAYBE state is useful to signify an "unknown" or "indeterminate" state in the application data.
maybeHelpText | [RW] | Maybe status line help text, shown when toggled [String] |
maybeIcon | [RW] | Maybe icon, shown when toggled [FXIcon] |
maybeText | [RW] | Maybe text, shown when toggled [String] |
maybeTipText | [RW] | Maybe tool tip message, shown when toggled [String] |
Return an initialized FXTriStateButton instance.
p: | the parent window for this tri-state button [FXComposite] |
text1: | the text for this tri-state button‘s first state [String] |
text2: | the text for this tri-state button‘s second state [String] |
text3: | the text for this tri-state button‘s third state [String] |
icon1: | the icon, if any, for this tri-state button‘s first state [FXIcon] |
icon2: | the icon, if any, for this tri-state button‘s second state [FXIcon] |
icon3: | the icon, if any, for this tri-state button‘s third state [FXIcon] |
target: | the message target, if any, for this tri-state button [FXObject] |
selector: | the message identifier for this tri-state button [Integer] |
opts: | tri-state button options [Integer] |
x: | initial x-position [Integer] |
y: | initial y-position [Integer] |
width: | initial width [Integer] |
height: | initial height [Integer] |
padLeft: | internal padding on the left side, in pixels [Integer] |
padRight: | internal padding on the right side, in pixels [Integer] |
padTop: | internal padding on the top side, in pixels [Integer] |
padBottom: | internal padding on the bottom side, in pixels [Integer] |