DFileBrowser/OnDoubleClick

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

DescriptionPanelHook

Called when a file is double-clicked.

NOTE

Double-clicking a file or icon will trigger both this and DFileBrowser:OnSelect.

Arguments

string filePath

The path to the file that was double-clicked.

Arguments

Panel selectedPanel

The panel that was double-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