RSS

Вторник, 05.11.2024, 16:54
Главная » WoW API »

API Функции

[ Добавить запись ]

В разделе материалов: 7079
Показано материалов: 3201-3250
Страницы: « 1 2 ... 63 64 65 66 67 ... 141 142 »

Название Описание
EditBox:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
EditBox:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
EditBox:SetAutoFocus(enable) Sets whether the edit box automatically acquires keyboard input focus.
EditBox:SetAttribute("name", value) Sets a secure frame attribute.
EditBox:SetAltArrowKeyMode(enable) Sets whether arrow keys are ignored by the edit box unless the Alt key is held.
EditBox:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
EditBox:SetAllPoints([region]) or EditBox:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
EditBox:RegisterForDrag(...) Registers the frame for dragging.
EditBox:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
EditBox:RegisterAllEvents() Registers the frame for all events.
EditBox:Raise() Increases the frame's frame level above all other frames in its strata.
EditBox:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = EditBox:IsVisible() Returns whether the region is visible.
enabled = EditBox:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = EditBox:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = EditBox:IsShown() Returns whether the region is shown.
enabled = EditBox:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = EditBox:IsProtected() Returns whether the region is protected.
enabled = EditBox:IsPassword() Returns whether the text entered in the edit box is masked.
isType = EditBox:IsObjectType("type") Returns whether the object belongs to a given widget type.
enabled = EditBox:IsNumeric() Returns whether the edit box only accepts numeric input.
multiLine = EditBox:IsMultiLine() Returns whether the edit box shows more than one line of text.
movable = EditBox:IsMovable() Returns whether the frame can be moved by the user.
enabled = EditBox:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = EditBox:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = EditBox:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = EditBox:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = EditBox:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = EditBox:IsInIMECompositionMode() Returns whether the edit box is in Input Method Editor composition mode.
enabled = EditBox:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = EditBox:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
EditBox:IsEnabled() Функция еще не задокументированна.
isDragging = EditBox:IsDragging() Returns whether the region is currently being dragged.
EditBox:IsCountInvisibleLetters() Функция еще не задокументированна.
enabled = EditBox:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
enabled = EditBox:IsAutoFocus() Returns whether the edit box automatically acquires keyboard input focus.
EditBox:Insert("text") Inserts text into the edit box at the current cursor position.
EditBox:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
EditBox:HookScript("scriptType", handler) Securely hooks a script handler.
EditBox:HighlightText([start [, end]]) Selects all or a portion of the text in the edit box.
EditBox:Hide() Hides the region.
hasScript = EditBox:HasScript("scriptType") Returns whether the widget supports a script handler.
enabled = EditBox:HasFocus() Returns whether the edit box is currently focused for keyboard input.
width = EditBox:GetWidth() Returns the width of the region.
position = EditBox:GetUTF8CursorPosition() Returns the cursor's numeric position in the edit box, taking UTF-8 multi-byte character into account.
top = EditBox:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = EditBox:GetTitleRegion() Returns the frame's TitleRegion object.
left, right, top, bottom = EditBox:GetTextInsets() Returns the insets from the edit box's edges which determine its interactive text area.
textR, textG, textB, textAlpha = EditBox:GetTextColor() Returns the font instance's default text color.
text = EditBox:GetText() Returns the edit box's text contents.