Garry's Mod Wiki

DFileBrowser:Setup

Description

This is used internally - although you're able to use it you probably shouldn't.

Called to set up the DTree and file viewer when a base path has been set.

Calls DFileBrowser:SetupTree and DFileBrowser:SetupFiles.

Returns

1 boolean
Whether or not the variables needed to set up have been defined.