Garry's Mod Wiki

ContentHeader

Description

The ContentHeader is used internally by the Spawnmenu and only use this if you know what you're doing because you can break a few things with it.

This is used internally - although you're able to use it you probably shouldn't.

Parent

Derives methods, etc not listed on this page from DLabelEditable.

Implements

Implements or overrides the following hooks/methods. If you want to override these, you probably want to call the original function too.

Methods

ContentHeader:OpenMenu( string style, string hookname = "PopulateContent" )
Creates a DermaMenu and adds a delete option before opening the menu