Garry's Mod Wiki

menubar

The menubar library.

Methods

menubar.Init()
Creates the menu bar ( The bar at the top of the screen when holding C or Q in sandbox ) and docks it to the top of the screen. It will not appear. Calling this multiple times will NOT remove previous panel.
boolean menubar.IsParent( Panel pnl )
Checks if the supplied panel is parent to the menubar
menubar.ParentTo( Panel pnl )
Parents the menubar to the panel and displays the menubar.