Class: Fox::FXToolTip

Inherits:
FXShell show all
Defined in:
rdoc-sources/FXToolTip.rb

Overview

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

Instance Attribute Summary

Attributes inherited from FXWindow

#accelTable, #backColor, #defaultCursor, #dragCursor, #first, #focus, #key, #last, #layoutHints, #next, #numChildren, #owner, #parent, #prev, #root, #selector, #shell, #target, #x, #y

Attributes inherited from FXDrawable

#height, #visual, #width

Attributes inherited from FXId

#app, #userData, #xid

Instance Method Summary collapse

Methods inherited from FXComposite

#maxChildHeight, #maxChildWidth

Methods inherited from FXWindow

#acceptDrop, #acquireClipboard, #acquireSelection, #active?, #addHotKey, #after?, after?, #before?, before?, #beginDrag, #canFocus?, #changeFocus, #childAtIndex, #childOf?, #children, #clearDragRectangle, #clearShape, colorType, colorTypeName, commonAncestor, #composeContext, #composite?, #contains?, #containsChild?, #create, #createComposeContext, #cursorPosition, #default?, #defaultHeight, #defaultWidth, deleteType, deleteTypeName, #destroy, #destroyComposeContext, #detach, #didAccept, #disable, #doesSaveUnder?, #dragging?, #dropDisable, #dropEnable, #dropEnabled?, #dropFinished, #dropTarget?, #each_child, #each_child_recursive, #enable, #enabled?, #endDrag, #forceRefresh, #getChildAt, #getDNDData, #getHeightForWidth, #getWidthForHeight, #grab, #grabKeyboard, #grabbed?, #grabbedKeyboard?, #handleDrag, #hasClipboard?, #hasFocus?, #hasSelection?, #height, #height=, #hide, imageType, #inFocusChain?, #indexOfChild, #initial?, #inquireDNDAction, #inquireDNDTypes, #killFocus, #layout, #linkAfter, #linkBefore, #lower, #move, octetType, octetTypeName, #offeredDNDType?, #position, #raiseWindow, #recalc, #releaseClipboard, #releaseSelection, #remHotKey, #removeChild, #repaint, #reparent, #resize, #scroll, #setCursorPosition, #setDNDData, #setDefault, #setDragRectangle, #setFocus, #setInitial, #setShape, #shell?, #show, #shown?, stringType, textType, textTypeName, #tr, #translateCoordinatesFrom, #translateCoordinatesTo, #underCursor?, #ungrab, #ungrabKeyboard, #update, urilistType, urilistTypeName, utf16Type, utf16TypeName, utf8Type, utf8TypeName, #visible=, #width, #width=

Methods included from Responder2

#connect

Methods inherited from FXDrawable

#resize

Methods inherited from FXId

#create, #created?, #destroy, #detach, #runOnUiThread

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initialize(app, opts = TOOLTIP_NORMAL, x = 0, y = 0, width = 0, height = 0) ⇒ FXToolTip

Construct a tool tip



16
# File 'rdoc-sources/FXToolTip.rb', line 16

def initialize(app, opts=TOOLTIP_NORMAL, x=0, y=0, width=0, height=0); end

Instance Method Details

#fontObject

Get the tip text font



28
# File 'rdoc-sources/FXToolTip.rb', line 28

def font() ; end

#font=(font) ⇒ Object

Set the tip text font



25
# File 'rdoc-sources/FXToolTip.rb', line 25

def font=(font) ; end

#textObject

Get the text for this tip



22
# File 'rdoc-sources/FXToolTip.rb', line 22

def text() ; end

#text=(text) ⇒ Object

Set the text for this tip



19
# File 'rdoc-sources/FXToolTip.rb', line 19

def text=(text); end

#textColorObject

Get the current tip text color



31
# File 'rdoc-sources/FXToolTip.rb', line 31

def textColor() ; end

#textColor=(color) ⇒ Object

Set the current tip text color



34
# File 'rdoc-sources/FXToolTip.rb', line 34

def textColor=(color); end

#to_sObject

Return the tool tip’s text



37
# File 'rdoc-sources/FXToolTip.rb', line 37

def to_s; text; end