XLQP Gen1
Reference

Controllers

Runtime methods returned by XLQP windows and elements.

Controllers

Most constructors return a controller. Store it when you plan to change, refresh, open, close, play, or destroy that element later.

Window and navigation

ControllerMethods
WindowMakeTab, newmaketabtop, MakeAdminTab, AddDialog, CreatePrivateTab, AddPrivateGroupbox, CreatePrivateMiniTab, OpenPrivateTabEditor, SelectPrivateTab, AddWidget, GetWidget, RemoveWidget, OpenWidgets, CloseWidgets, ToggleWidgets, SetWidgetsEnabled, SetTabButtonsStyle, GetTabButtonsStyle, GetTabButtonsStyleParameters, CreatePopup, SetSidebarCollapsed, SetGifBackground, RemoveGifBackground, IsGifBackgroundSupported
WidgetSetTitle, SetImage, SetVisible, Toggle, SetPosition, SetSize, SetCornerRadius, AddElement, Clear, Destroy
DialogAddInput, AddTextbox, AddToggle, Dismiss
Admin tabNormal tab element methods plus Lock
Box sectionSetOpen, Toggle, SetTitle
Sidebar menuOpen, Close
Dropdown panelSetOpen, Toggle, Set, AddGroupbox, AddTabbox, SetTitle, SetIcon, SetVisible, SetPinned, SetCollapsed, SetSize, Refresh, Destroy, SetDetached, TogglePopout, RefreshControls, Select

Inputs

ControllerMethods
ButtonSet, Press, SetLocked
Smooth toggleSet, Toggle, SetName, SetDescription, SetLiveColor
ToggleSet, SetName, SetBind, SetSettingsOpen, AddActionRow, AddDropdown, AddMiniButtons, AddSlider, SendStatsToWebhook
SliderSet, SetColor, GetColors
DropdownGetSelected, Set, Clear, SelectAll, Invert, Refresh, RefreshPlayers, UpdateAppearance
Bind / key pickerSet, SetMenuVisibility, GetMenuVisibility
Text areaSet, Get
TextboxSet where supported
Color pickerSet, SetTransparency, Reset
StepperSet
Cooldown buttonStart, Cancel, SetDuration, IsCoolingDown, Trigger

Content

ControllerMethods
LabelSetText, GetText, SetVisible, IsVisible, Show, Hide, SetRichText, SetFont, SetIcon, SetColor, Destroy
Badge / stat card / notice / shortcutSet
Progress barSet, SetColor
Key-value listSet, Clear, AddItem
Divider / spacerSet
Action rowAddButton, SetTitle
ChecklistAdd, Set, Refresh, SetTitle
TimelineAdd, Clear, Refresh, SetTitle
Filter listAdd, Clear, Refresh, SetItems, Run, SetTitle
NotifyFire
Tag cloud / pill listAdd, Clear
Status boxSetStatus, SetTitle, SetText, SetContent, Set, Destroy
ChangelogAdd, SetTitle
BannerSetImage, SetTitle, SetContent, AddAction

Data and charts

ControllerMethods
Data tableSetRows, AddRow, UpdateRow, RemoveRow, Clear, SetFilter, SortBy, GetSelected
Runtime monitorSetMetric, Refresh, Start, Stop
Meter groupSet, Add
Loadout groupAddItem, SetItems, SetSelected, GetSelected, SetTitle, SetButtonText, Equip
Table contentsSetRows, Set, AddRow, RemoveRow, Clear
Revenue cardAdd, BindChart, Reset, SetChange, SetMiniStat
Line/bar chartPush, Replay; line chart also supports Set
Stacked chartReplay
StatReplay, Set
ProgressIncrement, Replay where supported
Download progressDownload, Pause, Resume, Cancel

Media

ControllerMethods
ImageSet, SetHeight
VideoSet, Play, Pause
Drawing gridClear, SetColor, SetTool, SetBoxes, SetGridSize, SetCellSize, GetData
ViewportSetObject, SetHeight, Focus, SetInteractive, SetVisible, SetName
Media playerLoad, Play, Pause, Stop, TogglePlay, PlayIndex, Next, Previous, SetURL, SetVolume, SetPitch, SetLoop, SetAutoPlay, SetEffect, SetVisualizer, AddToPlaylist, ClearPlaylist, GetState, GetPlaylist, Subscribe
BytebeatGenerate, Stop, Set, Get, SetHz, GetHz, SetDuration, GetDuration, ApplyPreset, SelectPreset, AddPreset, SetVisualizer, SetMediaPreset

Advanced

ControllerMethods
Game sessionRefresh, Join, Rejoin, ServerHop, Leave, SetGames, SetAutoExecute, IsAutoExecuteEnabled, QueueAutoExecute
Dependency boxRefresh, SetDependencies, SetDependency, SetCondition, SetVisible, IsVisible, Destroy
PluginsScan, GetNames, Find, Read, SaveCode, AddCode, InstallURL, ExecuteSource, Load, RunCode, RunCommand, Unload, Delete, Refresh
SoccerSetLeague, SetDate, Refresh, SetAutoRefresh, GetMatches, GetSource, Destroy
XLQP Gen1 AI / AI textboxSend, GetLastResponse, GetTools, CallTool, SetPermissionMode, SetEffort, SetMultiline, SetAgentPlanner, GetCurrentTask, AskQuestion; mounted AddXLQPGen1AI also adds Show and Hide
ExecutorSetScript
Debug consoleLog, Info, Warn, Error, Success, Code, Clear, GetText, Copy, SetHeight, SetCapture

New grid, tab, and slider controllers

ControllerMethods
SubtabsAddTab, Select, GetSelected, SetHeight, SetFill, Refresh
Option gridAddOption, RemoveOption, UpdateOption, Clear, Set, Get, GetSelected, SetMulti, SetRows, SetCardSize, SetSpacing, SetColumns, SetCustom, Resize, SetIcon, SetSettingsIcon, SetSettingsOpen, ToggleSettings, AddElement
Element gridAddElement, Remove, Clear, SetRows, SetColumns, SetCellSize, SetSpacing, SetAutoHeight, Resize, SetCustom
Named slider / custom sliderSetParameter, GetParameter, GetParameters, SetDotsVisible, SetColor, GetColors, UsePlugin, ApplyStyle

See Current API additions, AI agent, and the linked element guides for signatures.

Parameter discovery

Every registered Add* controller exposes .Parameters, .ParameterInfo, and GetParameters(). Registered styled surfaces may also expose SetStyle(newStyle). At the library level, use GetElementParameters, GetAllElementParameters, GetElementParameterNames, FormatElementParameters, and GetNewAPIParameters.

Safe update pattern

local Status = Section:AddStatusBox({
    Title = "Task",
    Content = "Waiting",
    Variant = "neutral",
})

local function setTaskState(state, message)
    if not Status then
        return
    end

    Status:SetStatus(state)
    Status:SetContent(message)
end

Avoid updating a controller after its element or parent window has been destroyed.