ControlPanel/ControlValues

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{PanelFunc |Description=Sets control values of the control panel. }} {{Arg |type=table |name=data |desc=A two-membered table: * {{FuncArg|boolean|closed|Sets if the control p...")
 
m (Source)
 
Line 1: Line 1:
 
{{PanelFunc
 
{{PanelFunc
 
|Description=Sets control values of the control panel.
 
|Description=Sets control values of the control panel.
 +
|File=gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua
 +
|Line=107-L114
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 17:38, 27 May 2019

 ControlPanel:ControlValues( )

DescriptionPanelFunc

Sets control values of the control panel.

Arguments

table data

A two-membered table:

  • boolean closed - Sets if the control panel should be unexpanded.
  • string label - The text to display inside the control's label.
Personal tools
Navigation