Garry's Mod Wiki

DMenu:SetDeleteSelf

  DMenu:SetDeleteSelf( boolean newState )

Description

Set to true by default. IF set to true, the menu will be deleted when it is closed, not simply hidden.

This is used by DMenuBar

Arguments

1 boolean newState
true to delete menu on close, false to simply hide.