Class: Fox::FXMenuCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/fox16/core.rb,
lib/fox16/aliases.rb

Instance Method Summary collapse

Instance Method Details

#boxColorObject

deprecated



3027
3028
3029
# File 'lib/fox16/aliases.rb', line 3027

def boxColor # :nodoc:
  getBoxColor()
end

#boxColor=(*args) ⇒ Object

:nodoc:



3030
3031
3032
# File 'lib/fox16/aliases.rb', line 3030

def boxColor=(*args) # :nodoc:
  setBoxColor(*args)
end

#checkObject

:nodoc:



3019
3020
3021
# File 'lib/fox16/aliases.rb', line 3019

def check # :nodoc:
  getCheck
end

#check=(state) ⇒ Object

deprecated



3022
3023
3024
3025
3026
# File 'lib/fox16/aliases.rb', line 3022

def check=(state) # :nodoc:
  state = Fox::TRUE  if state == true
  state = Fox::FALSE if state == false
  setCheck(state)
end

#checked?Boolean

Return true if this menu check button is in the checked state.

Returns:

  • (Boolean)


587
588
589
# File 'lib/fox16/core.rb', line 587

def checked?
  self.checkState == TRUE
end

#checkStateObject

:nodoc:



3010
3011
3012
# File 'lib/fox16/aliases.rb', line 3010

def checkState # :nodoc:
  getCheckState
end

#checkState=(*args) ⇒ Object

:nodoc:



3016
3017
3018
# File 'lib/fox16/aliases.rb', line 3016

def checkState=(*args) # :nodoc:
  setCheck(*args)
end

#maybe?Boolean

Return true if this menu check button is in the indeterminate, or “maybe”, state.

Returns:

  • (Boolean)


597
598
599
# File 'lib/fox16/core.rb', line 597

def maybe?
  self.checkState == MAYBE
end

#setCheckState(*args) ⇒ Object

:nodoc:



3013
3014
3015
# File 'lib/fox16/aliases.rb', line 3013

def setCheckState(*args) # :nodoc:
  setCheck(*args)
end

#unchecked?Boolean

Return true if this menu check button is in the unchecked state.

Returns:

  • (Boolean)


592
593
594
# File 'lib/fox16/core.rb', line 592

def unchecked?
  self.checkState == FALSE
end