Garry's Mod Wiki

Revision Difference

Panel:GetTooltipDelay#549683

<function name="GetTooltipDelay" parent="Panel" type="classfunc">⤶ <description>Returns the tooltip delay (time between hovering over the panel, and the tooltip showing up) that was set with <page>Panel:SetTooltipDelay</page>, or nothing if it was not set.⤶ ⤶ If the delay is not explicitly set by this function, it will fallback to the value of the `tooltip_delay` <page>ConVar</page>, which is `0.5` by default.⤶ </description>⤶ <realm>Client</realm>⤶ <added>2023.04.19</added>⤶ <rets>⤶ <ret name="tooltip" type="number">The tooltip delay in seconds, if it was set.</ret>⤶ </rets>⤶ </function>