Panel:SetTooltipPanelOverride
Description
Sets the panel class to be created instead of DTooltip when the player hovers over this panel and a tooltip needs creating.
Arguments
1 string override
The panel class to override the default DTooltip. The new panel class must have the following methods:
- SetText - If you are using Panel:SetTooltip.
- SetContents - If you are using Panel:SetTooltipPanel.
- OpenForPanel - A "hook" type function that gets called shortly after creation (and after the above 2) to open and position the tooltip. You can see this logic in
lua/includes/util/tooltips.lua
.
Page views: 4,473
Updated: This Year
Updated: This Year