Garry's Mod Wiki

Revision Difference

DMenu:OpenSubMenu#513479

<function name="OpenSubMenu" parent="DMenu" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Closes any active sub menus, and opens a new one.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="item" type="Panel">The &lt;page&gt;DMenuOption&lt;/page&gt; to open the submenu at</arg>⤶ <arg name="menu" type="Panel" default="nil">The submenu to open. If set to nil, the function just closes existing submenus.</arg>⤶ </args>⤶ </function>⤶ ⤶