Garry's Mod Wiki

PANEL:ApplySchemeSettings

  PANEL:ApplySchemeSettings()

Description

Called whenever the panel should apply its scheme (colors, fonts, style).

It is called a few frames after panel's creation once.

The engine will overwrite Panel:SetFGColor and Panel:SetBGColor (from the engine panel theme/scheme) for most panels just before this hook is called in Lua.