DTooltip

From GMod Wiki

Revision as of 14:34, 6 May 2010 by Morin-Guewen (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Derma Control: DTooltip
Parent Class:Panel
Subclasses:DLabel
Description:
You should rarely need to create a DTooltip manually!

Examples

DescriptionEnables a tooltip on a button.
Used onNewerClient.png
Code
local MyBtn = vgui.Create("DButton")
MyBtn:SetToolTip("Datastream Sucks")
MyBtn:SetSize(40, 20)
MyBtn:SetText("wut")
OutputDTooltip.PNG


Methods

NewerClient.png DTooltip.Close
NewerClient.png DTooltip.DrawArrow
NewerClient.png DTooltip.Init
NewerClient.png DTooltip.OpenForPanel
NewerClient.png DTooltip.Paint
NewerClient.png DTooltip.PerformLayout
NewerClient.png DTooltip.SetContents

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox