Garry's Mod Wiki

Revision Difference

DCollapsibleCategory:OnToggle#529234

<function name="OnToggle" parent="DCollapsibleCategory" type="panelfunc"> <ispanel>yes</ispanel> <description>Called by <page>DCollapsibleCategory:Toggle</page>.</description> <description>Called by <page>DCollapsibleCategory:Toggle</page>. This function does nothing by itself, as you're supposed to overwrite it.</description> <realm>Client</realm> <args> <arg name="expanded" type="boolean">If it was expanded or not</arg> </args> </function>