DNotify

From GMod Wiki

Revision as of 07:46, 17 October 2010 by Jcw87 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Derma Control: DNotify
Parent Class:Panel
Subclasses:
Description:
A notify stub.

Examples

DescriptionCreates a DNotify
Used onNewerClient.png
Code
local Frame = vgui.Create( "DFrame" )
DermaPanel:SetSize( 110,80 )
DermaPanel:Center()
DermaPanel:SetTitle( "Panel Test" )
DermaPanel:MakePopup()
 
local Label1= vgui.Create( "DLabel" )
Label1:SetText( "I Love Gmod" )
Label1:SizeToContents() 
 
local Label = vgui.Create( "DNotify" , DermaPanel)
Label:SetPos( 25,28 )
Label:SetSize( 50,50 )
Label:SetLife( 4 )
 
Label:AddItem(Label1)
OutputDNotify.gif


Methods

NewerClient.png DNotify.AddItem
NewerClient.png DNotify.GetAlignment
NewerClient.png DNotify.GetItems
NewerClient.png DNotify.GetLife
NewerClient.png DNotify.GetSpacing
NewerClient.png DNotify.Init
NewerClient.png DNotify.PerformLayout
NewerClient.png DNotify.SetAlignment
NewerClient.png DNotify.SetLife
NewerClient.png DNotify.SetSpacing
NewerClient.png DNotify.Shuffle
NewerClient.png DNotify.Think

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox