Garry's Mod Wiki

Garry's Mod Wiki

  DFileBrowser:OnRightClick( string filePath, Panel selectedPanel )

Description

Called when a file is right-clicked.

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

Arguments

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...