Garry's Mod Wiki

Revision Difference

DCollapsibleCategory:OnToggle#553830

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