Garry's Mod Wiki

DMenuBar:SetIsMenu

  DMenuBar:SetIsMenu( boolean isMenu )

Description

Sets whether or not the panel is part of a DMenu.

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

Arguments

1 boolean isMenu
Is this a menu