CreateTheme
This compatibility method behaves like RegisterTheme. Registers a named theme definition for later selection. It is kept so scripts written with the older CreateTheme name continue to work.
CreateTheme
Compatibility alias
CreateTheme 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 CreateTheme 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:CreateTheme(name,ThemeConfig,applyNow)
local Result = Library:CreateTheme(
"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
CreateTable
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 CreateTable name continue to work.
CreateWindow
This compatibility method behaves like MakeWindow. Creates the main XLQP window and initializes its configured appearance, navigation, loading, security, and persistence features. It is kept so scripts written with the older CreateWindow name continue to work.