Sha256: 20650eb1a9439ccdb38c386f3f28ee6de53c5fffb12d9c580a9a9d695042fc66

Contents?: true

Size: 848 Bytes

Versions: 5

Compression:

Stored size: 848 Bytes

Contents

module Fox
  #
  # 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.
  # When activated, a menu check sends a +SEL_COMMAND+ message to its target;
  # the message data contains the new state (one of +TRUE+, +FALSE+ or +MAYBE+).
  #
  # === Events
  #
  # The following messages are sent by FXMenuCheck to its target:
  #
  # +SEL_COMMAND+::		sent when the command is activated
  #
  class FXMenuCheck < FXMenuCommand

    # Check state, one of +TRUE+, +FALSE+ or +MAYBE+
    attr_accessor :check
    
    # Box background color [FXColor]
    attr_accessor :boxColor

    #
    # Construct a menu check
    #
    def initialize(p, text, tgt=nil, sel=0, opts=0) # :yields: theMenuCheck
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fxruby-1.6.0 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.1 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.2 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.3 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.4 rdoc-sources/FXMenuCheck.rb