DFileBrowser/OnSelect

From Garry's Mod
Jump to: navigation, search
 DFileBrowser:OnSelect( )

DescriptionPanelHook

Called when a file is selected.

Arguments

string filePath

The path to the file that was selected.

Arguments

Panel selectedPanel

The panel that was clicked to select this file.

This will either be a DListView_Line or SpawnIcon depending on whether the model viewer mode is enabled. See DFileBrowser:SetModels.
Personal tools
Navigation