Garry's Mod Wiki

Revision Difference

DFileBrowser:SetOpen#562413

<function name="SetOpen" parent="DFileBrowser" type="panelfunc"> <description>Opens or closes the file tree.</description> <description>An <page>Global.AccessorFunc</page> that opens or closes the file tree.</description> <realm>Client</realm> <file line="120-L131">lua/vgui/dfilebrowser.lua</file>⤶ <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 <page>DTree</page>'s open/close animation is used.</arg> </args> </function>