Garry's Mod Wiki

Revision Difference

DCollapsibleCategory:SetExpanded#513326

<function name="SetExpanded" parent="DCollapsibleCategory" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets whether the <page>DCollapsibleCategory</page> is expanded or not upon opening the container.⤶ ⤶ You should use <page>DCollapsibleCategory:Toggle</page> or <page>DCollapsibleCategory:DoExpansion</page> instead.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="expanded" type="boolean" default="true">Whether it shall be expanded or not by default</arg>⤶ </args>⤶ </function>⤶ ⤶