Garry's Mod Wiki


  Panel DProperties:CreateRow( string category, string name )


Creates a row in the properties panel.


1 string category
The category to list this row under
2 string name
The label of this row


1 Panel
An internal Row panel. It has 2 methods of interest:
  • Setup( string type, table vars )
    • Call to set up the panel as one of the DProperty_<type> panels. vars parameter is directly fed into the created DProperty_<type> panels' Setup function.
  • SetValue( any value )
    • Call to set the value on the created DProperty_<type> panel.