Garry's Mod Wiki

Revision Difference

DTooltip:OpenForPanel#528562

<function name="OpenForPanel" parent="DTooltip" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets up the tooltip for display for given panel and starts the timer.</description> <description> <internal></internal> Sets up the tooltip for display for given panel and starts the timer. Normally you wouldn't call this and you'd use <page>Panel:SetTooltip</page>, <page>Panel:SetTooltipPanel</page> or <page>Panel:SetTooltipPanelOverride</page>.</description> <realm>Client</realm> <args> <arg name="pnl" type="Panel"></arg> <arg name="pnl" type="Panel">The panel to open the tooltip for.</arg> </args> </function>