Garry's Mod Wiki

Revision Difference

DFrame:SetIsMenu#513227

<function name="SetIsMenu" parent="DFrame" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets whether the frame is part of a derma menu or not.⤶ ⤶ If this is set to `true`, <page>Global.CloseDermaMenus</page> will not be called when the frame is clicked, and thus any open menus will remain open.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="isMenu" type="boolean">Whether or not this frame is a menu component.</arg>⤶ </args>⤶ </function>⤶ ⤶