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

- (Object) boxColor

deprecated



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

def boxColor # :nodoc:
  getBoxColor()
end

- (Object) boxColor=(*args)

:nodoc:



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

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

- (Object) check

:nodoc:



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

def check # :nodoc:
  getCheck
end

- (Object) check=(state)

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

- (Boolean) checked?

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

- (Object) checkState

:nodoc:



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

def checkState # :nodoc:
  getCheckState
end

- (Object) checkState=(*args)

:nodoc:



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

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

- (Boolean) maybe?

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

- (Object) setCheckState(*args)

:nodoc:



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

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

- (Boolean) unchecked?

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