Panel:SetTooltipPanelOverride
Example
Create a custom drawn tooltip.
Output: 

Sets the panel class to be created instead of DTooltip when the player hovers over this panel and a tooltip needs creating.
lua/includes/util/tooltips.lua
.Create a custom drawn tooltip.