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

    # Tooltip text [String]
    attr_accessor :text
    
    # Tooltip text font [String]
    attr_accessor :font
    
    # Tooltip text color [FXColor]
    attr_accessor :textColor

    #
    # Return an initialized FXTooltip instance.
    #
    # ==== Parameters:
    #
    # +a+::	an application instance [FXApp]
    # +opts+::	tool tip options [Integer]
    # +x+::	initial x-position [Integer]
    # +y+::	initial y-position [Integer]
    # +w+::	initial width [Integer]
    # +h+::	initial height [Integer]
    #
    def initialize(app, opts=TOOLTIP_NORMAL, x=0, y=0, w=0, h=0) # :yields: theTooltip
    end
  end
end
