Garry's Mod Wiki

DTooltip:OpenForPanel

  DTooltip:OpenForPanel( Panel pnl )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets up the tooltip for display for given panel and starts the timer.

Normally you wouldn't call this and you'd use Panel:SetTooltip, Panel:SetTooltipPanel or Panel:SetTooltipPanelOverride.

Arguments

1 Panel pnl
The panel to open the tooltip for.