Sha256: 2d4631eb8cfc5bbdac19839be7d66d8874d72b85c80862dcd27419bdab8d1261

Contents?: true

Size: 1.17 KB

Versions: 94

Compression:

Stored size: 1.17 KB

Contents

module Fox
  #
  # The menu caption is a widget which can be used as a caption
  # above a number of menu commands in a menu.
  #
  # === Menu caption options
  #
  # +MENU_AUTOGRAY+:: Automatically gray out when not updated
  # +MENU_AUTOHIDE+:: Automatically hide button when not updated
  #
  class FXMenuCaption < FXWindow

    # The text for this menu [String]
    attr_accessor :text

    # The icon for this menu {FXIcon}
    attr_accessor :icon

    # The text font {FXFont}
    attr_accessor :font

    # Text color {FXColor}
    attr_accessor :textColor

    # Selection background color {FXColor}
    attr_accessor :selBackColor

    # Selection text color {FXColor}
    attr_accessor :selTextColor

    # Highlight color {FXColor}
    attr_accessor :hiliteColor

    # Shadow color {FXColor}
    attr_accessor :shadowColor

    # Status line help text for this menu [String]
    attr_accessor :helpText

    # Tool tip message for this menu [String]
    attr_accessor :tipText

    #
    # Construct a new menu caption
    #
    def initialize(parent, text, icon=nil, opts=0) # :yields: theMenuCaption
    end

    # Return the menu caption's text
    def to_s; text; end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
fxruby-1.6.43-x64-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.43-x86-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.42 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.42-x64-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.42-x86-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.41 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.41-x64-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.41-x86-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.40-x86-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.40-x64-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.40 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.39 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.39-x64-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.39-x86-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.38 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.38-x64-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.38-x86-mingw32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.38.pre1 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.37 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.37-x64-mingw32 rdoc-sources/FXMenuCaption.rb