Garry's Mod Wiki

Revision Difference

DMenuBar:SetIsMenu#554177

<function name="SetIsMenu" parent="DMenuBar" type="panelfunc"> <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>