AddTheme
This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older AddTheme name continue to work.
AddTheme
Compatibility alias
AddTheme is an alternate name for RegisterTheme. New code can use RegisterTheme.
What it does
This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older AddTheme name continue to work.
When to use it
Use it to add a reusable custom color and style preset before applying it. Prefer RegisterTheme in new code so the method name matches the current API.
XLQPGen1:AddTheme(name,ThemeConfig,applyNow)
local Result = Library:AddTheme(
"Example",
{},
)Behavior and return value
This alias forwards to RegisterTheme, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
AddTable
This compatibility method behaves like AddTableContents. Adds a structured table-content view with configurable columns and rows. It is kept so scripts written with the older AddTable name continue to work.
AddVinylPlayer
This compatibility method behaves like AddDiscPlayer. Adds a disc-style audio player connected to a playlist or media controller. It is kept so scripts written with the older AddVinylPlayer name continue to work.