Garry's Mod Wiki

Revision Difference

DMenuBar:SetIsMenu#554005

<function name="SetIsMenu" parent="DMenuBar" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Sets whether or not the panel is a menu. Used for closing menus when another panel is selected.</description>⤶ <description>⤶ ⤶ <deprecated>Appears to be unused.</deprecated>⤶ Sets whether or not the panel is part of a DMenu.⤶ ⤶ If this is set to `true`, <page>Global.CloseDermaMenus</page> will not be called when the panel is clicked, and thus any open menus will remain open.⤶ </description>⤶ <realm>Client and Menu</realm> <args> <arg name="isMenu" type="boolean">Is this a menu</arg> </args> </function>