Garry's Mod Wiki

DFrame:SetIsMenu

  DFrame:SetIsMenu( boolean isMenu )

Description

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

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

Arguments

1 boolean isMenu
Whether or not this frame is a menu component.