WoW:API GameTooltip ClearLines: Difference between revisions
Jump to navigation
Jump to search
Title -Documentation by Goatus-
({{widgetmethod}}) |
m (Remove singature made using ~ in main namespace) |
||
| Line 32: | Line 32: | ||
: If run when Tooltip is visible it will clear all text from it but won't hide it | : If run when Tooltip is visible it will clear all text from it but won't hide it | ||
: This doesn't actually clear the right hand column of lines, but meerly hides them. After running this function you can still retreive the previous tooltips RightTextX with the GetText() function. So if you wish to check for text here you should use IsVisible instead of checking of the text value of the field is nil. | : This doesn't actually clear the right hand column of lines, but meerly hides them. After running this function you can still retreive the previous tooltips RightTextX with the GetText() function. So if you wish to check for text here you should use IsVisible instead of checking of the text value of the field is nil. | ||
Revision as of 06:15, 10 February 2007
← Widget API ← GameTooltip < ClearLines
Tooltip:ClearLines();
Clear all 30 lines of tooltip (both left and right ones)
- Arguments
- none
- Returns
- nothing
- Details
- If run when Tooltip is visible it will clear all text from it but won't hide it
- This doesn't actually clear the right hand column of lines, but meerly hides them. After running this function you can still retreive the previous tooltips RightTextX with the GetText() function. So if you wish to check for text here you should use IsVisible instead of checking of the text value of the field is nil.