DFileBrowser/OnRightClick

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

DescriptionPanelHook

Called when a file is right-clicked.

NOTE

When not in model viewer mode, DFileBrowser:OnSelect will also be called if the file is not already selected.

Arguments

string filePath

The path to the file that was right-clicked.

Arguments

Panel selectedPanel

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