Garry's Mod Wiki

DPanel:GetIsMenu

  boolean DPanel:GetIsMenu()

Description

Used internally by DMenu.

Returns whether the frame is part of a derma menu or not.

If this is true, CloseDermaMenus will not be called when the frame is clicked, and thus any open menus will remain open.

Returns

1 boolean isMenu
Whether this panel is a Menu Component