Codebase list ruby-fxruby / 55b7dfec-7e94-4d45-9893-75403ede1853/main rdoc-sources / FXToolTip.rb
55b7dfec-7e94-4d45-9893-75403ede1853/main

Tree @55b7dfec-7e94-4d45-9893-75403ede1853/main (Download .tar.gz)

FXToolTip.rb @55b7dfec-7e94-4d45-9893-75403ede1853/mainraw · history · blame

module Fox
  # Hopefully Helpful Hint message
  #
  # = Tooltip styles
  # TOOLTIP_PERMANENT:: Tooltip stays up indefinitely
  # TOOLTIP_VARIABLE::  Tooltip stays up variable time, depending on the length of the string
  # TOOLTIP_NORMAL::
  #
  # = Message identifiers
  #
  # ID_TIP_SHOW:: Show it
  # ID_TIP_HIDE:: Hide it
  #
  class FXToolTip < FXShell
    # Construct a tool tip
    def initialize(app, opts=TOOLTIP_NORMAL, x=0, y=0, width=0, height=0); end

    # Set the text for this tip
    def text=(text); end

    # Get the text for this tip
    def text() ; end

    # Set the tip text font
    def font=(font) ; end

    # Get the tip text font
    def font() ; end

    # Get the current tip text color
    def textColor() ; end

    # Set the current tip text color
    def textColor=(color); end

    # Return the tool tip's text
    def to_s; text; end
  end
end