WoW:API GameTooltip NumLines: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (New page)
 
m (Move page script moved page API GameTooltip NumLines to API GameTooltip NumLines without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<center>'''GameToolTip:NumLines''' ''-Documentation by [[user:Flickering|Flickering]]-''</center>
{{widgetmethod}}
 
<!-- 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
:;count : Number - The number of lines in the tooltip.


----
== Parameters ==
{{Template:WoW API}}
=== Returns ===
[[Category:API Frame Functions|GameTooltip NumLines]]
* 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.