Reference › Function reference › UI

UI.condition_inputs.CreateConditionEditBox

public

Call as

addon:CreateConditionEditBox()

Available directly through addon; no dependency is needed.

What it does

Create a native text input using the condition widget contract. SetLabel, SetText, SetDisabled and SetCallback configure it; OnEnterPressed commits text. Add it to the callback parent with parent:AddChild(widget).

Arguments

NameTypeWhat it does
selfRMAddonRotation Master addon instance (implicit with colon calls).

Returns

1RMConditionInputText widget supporting label, text, pending-edit and callback methods.

Editions

Built In helpers are registered on every edition. What differs is the game API they read; where one is missing the helper falls back or returns nil with a reason.

It reads no game API directly.

How the addon calls it

and 3 more: Zone (widget), Conditions.bossmod.idEditor, Conditions.talent.traitsWidget

Dependencies

Source

UI/condition_inputs.lua, line 152. Read only in game; Duplicate makes an editable copy.

UI.condition_inputs.CreateConditionEditBox(self)
    local w=addon:AcquireConditionWidget('RM-ConditionEditBox',function() return constructor(false) end)
    ---@cast w RMConditionInput
    return w

Back to Function reference