Garry's Mod Wiki

DFileBrowser:SetOpen

  DFileBrowser:SetOpen( boolean open = false, boolean useAnim = false )

Description

An AccessorFunc that opens or closes the file tree.

Arguments

1 boolean open = false
true to open the tree, false to close it.
2 boolean useAnim = false
If true, the DTree's open/close animation is used.