WoW:API GameTooltip NumLines: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{widgetmethod}})
m (Move page script moved page API GameTooltip NumLines to API GameTooltip NumLines without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
<center>'''GameTooltip:NumLines''' ''-Documentation by [[user:Flickering|Flickering]]-''</center>
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
count = <i>GameTooltip</i>: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''
 
:<i>none</i>
 
----
;''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.