Class: Fox::FXToolTip
- Inherits:
-
FXShell
- Object
- FXObject
- FXId
- FXDrawable
- FXWindow
- FXComposite
- FXShell
- Fox::FXToolTip
- 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
Attributes inherited from FXId
Instance Method Summary collapse
-
#font ⇒ Object
Get the tip text font.
-
#font=(font) ⇒ Object
Set the tip text font.
-
#initialize(app, opts = TOOLTIP_NORMAL, x = 0, y = 0, width = 0, height = 0) ⇒ FXToolTip
constructor
Construct a tool tip.
-
#text ⇒ Object
Get the text for this tip.
-
#text=(text) ⇒ Object
Set the text for this tip.
-
#textColor ⇒ Object
Get the current tip text color.
-
#textColor=(color) ⇒ Object
Set the current tip text color.
-
#to_s ⇒ Object
Return the tool tip’s text.
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
Methods inherited from FXDrawable
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
#font ⇒ Object
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 |
#text ⇒ Object
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 |
#textColor ⇒ Object
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_s ⇒ Object
Return the tool tip’s text
37 |
# File 'rdoc-sources/FXToolTip.rb', line 37 def to_s; text; end |