Garry's Mod Wiki

DFileBrowser:ShowFolder

  DFileBrowser:ShowFolder( string currentDir )

Description

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

Builds the file or icon list for the current directory.

You should use DFileBrowser:SetCurrentFolder to change the directory.

Arguments

1 string currentDir
The directory to populate the list from.