Garry's Mod Wiki

Revision Difference

DCollapsibleCategory:Add#549962

<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>⤶ <realm>Client and Menu</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>