Garry's Mod Wiki

DLabel:SetIsMenu

  DLabel:SetIsMenu( boolean isMenu )

Description

Used internally by DComboBox.

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 this pane is a Menu Component