Panel.SetTitle Method

Sets the panel's title.

void SetTitle(const char[] text, bool onlyIfEmpty)

Parameters

const char[] text

Text to set as the title.

bool onlyIfEmpty

If true, the title will only be set if no title is set.