Garry's Mod Wiki

Revision Difference

DForm:Button#513132

<function name="Button" parent="DForm" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Adds a <page>DButton</page> onto the <page>DForm</page></description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="text" type="string">The text on the button</arg>⤶ <arg name="concmd" type="string">The concommand to run when the button is clicked</arg>⤶ <arg name="concmd args" type="vararg">The arguments to pass on to the concommand when the button is clicked</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Panel">The created <page>DButton</page></ret>⤶ </rets>⤶ </function>⤶ ⤶