Garry's Mod Wiki

Revision Difference

DCollapsibleCategory:Add#513320

<function name="Add" parent="DCollapsibleCategory" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Adds a new text button to the collapsible category, like the tool menu in Spawnmenu.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="name" type="string">The name of the button</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Panel">The <page>DButton</page></ret>⤶ </rets>⤶ </function>⤶ ⤶