Garry's Mod Wiki

Revision Difference

DCategoryList:Add#549938

<function name="Add" parent="DCategoryList" type="panelfunc"> <ispanel>yes</ispanel> <description>Adds a <page>DCollapsibleCategory</page> to the list.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="categoryName" type="string">The name of the category to add.</arg> </args> <rets> <ret name="" type="Panel">The created <page>DCollapsibleCategory</page></ret> </rets> </function>