WoW:API GameTooltip NumLines: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GameTooltip NumLines to API GameTooltip NumLines without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:45, 15 August 2023

Widget API ← GameTooltip < NumLines

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

local count = GameTooltip:NumLines()

Parameters[edit]

Returns[edit]

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