WoW:API GameTooltip NumLines: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
count = ''GameTooltip'':NumLines();


Return the number of text lines which comprise a tooltip object.
Return the number of text lines which comprise a tooltip object.


----
local count = GameTooltip:NumLines()
;''Arguments''
 
:''none''
 
----
;''Returns''


:count
== Parameters ==
:;count : Number - The number of lines in the tooltip.
=== Returns ===
* count (number) - The number of lines in the tooltip.

Revision as of 03:42, 14 February 2021

Widget API ← GameTooltip < NumLines

Return the number of text lines which comprise a tooltip object.

local count = GameTooltip:NumLines()

Parameters

Returns

  • count (number) - The number of lines in the tooltip.