Garry's Mod Wiki

Garry's Mod Wiki

  Panel DMenuBar:AddMenu( string label )

Description

Creates a new DMenu object tied to a DButton with the given label on the menu bar.

This will create a new menu regardless of whether or not one with the same label exists. To add or get a menu, use DMenuBar:AddOrGetMenu.

Arguments

1 string label
The name (label) of the derma menu to create.

Returns

1 Panel
The new DMenu which will be opened when the button is clicked.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...