Sha256: 5be9c129ecce1017204adbdeb628d5aa83dcb399bb19f8be34d4ee8ece3ddc59

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

# :stopdoc:
# This file is automatically generated by the WXRuby3 documentation 
# generator. Do not alter this file.
# :startdoc:


module Wx

  # This class holds information about a tooltip associated with a window (see {Wx::Window#set_tool_tip}).
  # The four static methods, {Wx::ToolTip.enable}, {Wx::ToolTip.set_delay} {Wx::ToolTip.set_auto_pop} and {Wx::ToolTip.set_reshow} can be used to globally alter tooltips behaviour.
  # === 
  # 
  # Category:  {Wx::HELP}
  # 
  class ToolTip < Object
  
    # Constructor.
    # @param tip [String] 
    # @return [Wx::ToolTip]
    def initialize(tip) end
    
    # Get the tooltip text.
    # @return [String]
    def get_tip; end
    alias_method :tip, :get_tip
    
    # Get the associated window.
    # @return [Wx::Window]
    def get_window; end
    alias_method :window, :get_window
    
    # Set the tooltip text.
    # @param tip [String] 
    # @return [void]
    def set_tip(tip) end
    alias_method :tip=, :set_tip
    
    # Enable or disable tooltips globally.
    # May not be supported on all platforms (eg. {Wx::Cocoa}).
    # @param flag [Boolean] 
    # @return [void]
    def self.enable(flag) end
    
    # Set the delay after which the tooltip disappears or how long a tooltip remains visible.
    # May not be supported on all platforms (eg. {Wx::Cocoa}, GTK).
    # @param msecs [Integer] 
    # @return [void]
    def self.set_auto_pop(msecs) end
    
    # Set the delay after which the tooltip appears.
    # May not be supported on all platforms.
    # @param msecs [Integer] 
    # @return [void]
    def self.set_delay(msecs) end
    
    # Set the delay between subsequent tooltips to appear.
    # May not be supported on all platforms (eg. {Wx::Cocoa}, GTK).
    # @param msecs [Integer] 
    # @return [void]
    def self.set_reshow(msecs) end
    
  end # ToolTip
  

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wxruby3-0.9.1-x64-mingw-ucrt lib/wx/doc/gen/tool_tip.rb
wxruby3-0.9.0-x64-mingw-ucrt lib/wx/doc/gen/tool_tip.rb