DMenu/SetDeleteSelf

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (param name)
 
Line 1: Line 1:
 
{{PanelFunc
 
{{PanelFunc
|Description={{Deprecated}}
+
|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 {{Type|DMenuBar}}
  
Unused. Set to true by default.
 
 
}}
 
}}
 
{{Arg
 
{{Arg
 
|type=boolean
 
|type=boolean
 
|name=newState
 
|name=newState
 +
|desc=true to delete menu on close, false to simply hide.
 
}}
 
}}

Latest revision as of 12:44, 9 December 2019

 DMenu:SetDeleteSelf( )

DescriptionPanelFunc

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

boolean newState

true to delete menu on close, false to simply hide.
Personal tools
Navigation