Garry's Mod Wiki

DFileBrowser:OnDoubleClick

DFileBrowser:OnDoubleClick( string filePath, Panel selectedPanel )

Description

Called when a file is double-clicked.

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

Arguments

1 string filePath
The path to the file that was double-clicked.
2 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.

Page Links


Special Pages


Wikis

?

Render Time: 63ms

DB GetPage 20
Generate Html 9
SaveChanges (1) 24
Render Body 0
Render Sidebar 7