Sha256: 62ccf194005c05b26d06405aba2685d7b10e327d0fdfd14a171d9a32201622dd
Contents?: true
Size: 1.07 KB
Versions: 13
Compression:
Stored size: 1.07 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 # # Construct a new menu caption # def initialize(parent, text, icon=nil, opts=0) # :yields: theMenuCaption end end end
Version data entries
13 entries across 13 versions & 1 rubygems