DNotify

From GMod Wiki

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