Sha256: 72ae42466e6e52f7cef7d3b8f9f2328969ec28354b2b15cd7aafb67781cd1c78

Contents?: true

Size: 1.14 KB

Versions: 18

Compression:

Stored size: 1.14 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
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fxruby-1.6.14-mswin32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.0 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.1 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.11 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.10 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.12 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.13 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.14-universal-darwin-9 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.14 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.2 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.3 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.4 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.5 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.6 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.8 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.7 rdoc-sources/FXMenuCaption.rb
fxruby-1.6.9 rdoc-sources/FXMenuCaption.rb