DNotify.GetItems

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:GetItems( )
Description:
Returns the table of the items.
Returns: Table :Panel Items
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNotify.GetItems]DNotify.GetItems [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns a value of DLabel.
Used onNewerClient.png
Code
local DLabel= vgui.Create("DLabel")
DLabel:SetText("Gmod")
 
local Label = vgui.Create( "DNotify" , DermaPanel)
Label:AddItem(DLabel)
 
print(Label:GetItems()[1]:GetValue())
 
 
OutputReturns "Gmod" in the console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox