DSysButton.GetType

From GMod Wiki

Jump to: navigation, search
Function
Syntax DSysButton:GetType( )
Description:
Returns GetType.
Returns: String
In Object: DSysButton
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DSysButton.GetType]DSysButton.GetType [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns GetType of DSysButton.
Used onNewerClient.png
Code
local DSysButton= vgui.Create( "DSysButton" )
DSysButton:SetType("close")
print(DSysButton:GetType())
OutputReturns "close" in the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox