Garry's Mod Wiki

Revision Difference

DFileBrowser:SetOpen#518097

<function name="SetOpen" parent="DFileBrowser" type="panelfunc"> <ispanel>yes</ispanel> <description>Opens or closes the file tree.</description> <realm>Client</realm> <args> <arg name="open" type="boolean" default="false">`true` to open the tree, `false` to close it.</arg> <arg name="useAnim" type="boolean" default="false">If `true`, the &lt;page&gt;DTree&lt;/page&gt;&#x27;s open/close animation is used.</arg> <arg name="useAnim" type="boolean" default="false">If `true`, the <page>DTree</page>'s open/close animation is used.</arg> </args> </function>