Sha256: d7ff34824be7eae57ecae66136b7cd2c255a2a20a752da40db5282fd7e1a2c75

Contents?: true

Size: 852 Bytes

Versions: 94

Compression:

Stored size: 852 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, target=nil, selector=0, opts=0) # :yields: theMenuCheck
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
fxruby-1.6.48 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.48-x64-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.48-x64-mingw-ucrt rdoc-sources/FXMenuCheck.rb
fxruby-1.6.48-x86-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.47 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.47-x64-mingw-ucrt rdoc-sources/FXMenuCheck.rb
fxruby-1.6.47-x64-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.47-x86-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.46 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.46-x64-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.46-x64-mingw-ucrt rdoc-sources/FXMenuCheck.rb
fxruby-1.6.46-x86-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.45 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.45-x64-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.45-x64-mingw-ucrt rdoc-sources/FXMenuCheck.rb
fxruby-1.6.45-x86-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.44 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.44-x64-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.44-x86-mingw32 rdoc-sources/FXMenuCheck.rb
fxruby-1.6.43 rdoc-sources/FXMenuCheck.rb