vgui.Button

Button vgui.Button( Panel parent, string panelName, string text, Panel pActionSignalTarget, string pCmd )
Arguments:
- 1) Panel parent Parent of the button.
- 2) string panelName Name of the button.
- 3) string text Text on the button.
- 4) Panel pActionSignalTarget If not
- 5) string pCmd Command name.
NULL
, command from click will be sended to this panel.
Returns:
- 1) Button