DFrame.SetTitle

From GMod Wiki

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



Examples

DescriptionCreate a frame. Disable dragging
Used onNewerClient.png
Code
 
myParent = vgui.Create("DFrame")
myParent:SetTitle("My Frame!")
myParent:SetTall(480)
myParent:SetWide(640)
myParent:Center()
myParent:MakePopup()
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox