Garry's Mod Wiki

DFileBrowser:SetName

  DFileBrowser:SetName( string treeName = "baseFolder" )

Description

An AccessorFunc that sets the name to use for the file tree.

Arguments

1 string treeName = "`baseFolder`"
The name for the root of the file tree. Passing no value causes this to be the base folder name. See DFileBrowser:SetBaseFolder.