DFrame.GetSizable

From GMod Wiki

Jump to: navigation, search
Function
Syntax DFrame:GetSizable( )
Description:
Returns the sizeable state
Returns: Boolean
In Object: DFrame
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DFrame.GetSizable]DFrame.GetSizable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionCreate a frame. Enable the sizing.
Used onNewerClient.png
Code
 
myParent = vgui.Create("DFrame")
myParent:SetTall(480)
myParent:SetWide(640)
myParent:Center()
myParent:MakePopup()
myParent:SetSizable(true)
 
print(myParent:GetSizable())
 
OutputReturns "true" in the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox