Garry's Mod Wiki

DMenu:GetOpenSubMenu

  Panel DMenu:GetOpenSubMenu()

Description

This is used internally - although you're able to use it you probably shouldn't.

Returns the currently opened submenu.

Used internally to store the open submenu by DMenu:Hide, DMenu:OpenSubMenu.

Returns

1 Panel
The currently opened submenu, if any.