DMenu:Open
DMenu:Open( number x = gui.MouseX(), number y = gui.MouseY(), any skipanimation = nil, Panel ownerpanel = nil )
Description
Opens the DMenu at given position.
Sometimes when you are requesting the focus in Panel:OnMousePressed, the menu may become unresponsive,
and right-click has to be triggered a second time. In this case, you can use Panel:MakePopup to force it
active in the foreground, so it can become active again and items can be selected.
Arguments
4 Panel ownerpanel = nil
If
x and y are not set manually, setting this argument will offset the y position of the opened menu by the height of given panel.
Page views: 12,855
Updated: Three Days Ago
Updated: Three Days Ago
Garry's Mod
Rust
Steamworks
Wiki Help