Sha256: 060256af7992ceb71dc1aa5f5febebf1fb306c56ba8f1f514e450bbb7d5385dc

Contents?: true

Size: 679 Bytes

Versions: 5

Compression:

Stored size: 679 Bytes

Contents

module Fox
  #
  # The FXMenuCommand widget is used to invoke a command in the
  # application from a menu.  Menu commands may reflect
  # the state of the application by graying out or becoming hidden.
  # When activated, a menu command sends a +SEL_COMMAND+ to its target.
  #
  # === Events
  #
  # The following messages are sent by FXMenuCommand to its target:
  #
  # +SEL_COMMAND+::		sent when the command is activated
  #
  class FXMenuCommand < FXMenuCaption

    # Accelerator text [String]
    attr_accessor :accelText

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

Version data entries

5 entries across 5 versions & 1 rubygems

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