DNotify.GetAlignment

From GMod Wiki

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



Examples

DescriptionReturns the string typed in a GetAlignment.
Used onNewerClient.png
Code
local Label = vgui.Create( "DNotify" , DermaPanel)
Label:SetAlignment(1)
 
print(Label:GetAlignment())
OutputReturns "1" in the console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox