CreateCustomTheme
This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older CreateCustomTheme name continue to work.
CreateCustomTheme
Compatibility alias
CreateCustomTheme 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 CreateCustomTheme 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:CreateCustomTheme(name,ThemeConfig,applyNow)
local Result = Library:CreateCustomTheme(
"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
CreateCopy
This compatibility method behaves like CreateCopyButton. Creates a button that copies a configured value. It is kept so scripts written with the older CreateCopy name continue to work.
CreateDataTable
This compatibility method behaves like AddDataTable. Adds a searchable row-and-column data table. It is kept so scripts written with the older CreateDataTable name continue to work.