RSS

Понедельник, 06.05.2024, 08:39
Главная » WoW API » API Виджеты »

Фрейм

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

В категории материалов: 1617
Показано материалов: 1451-1500
Страницы: « 1 2 ... 28 29 30 31 32 33 »

Название Описание
backdrop = CheckButton:GetBackdrop() Returns information about the frame's backdrop graphic.
value = CheckButton:GetAttribute("name") Returns the value of a secure frame attribute.
CheckButton:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
CheckButton:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
CheckButton:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
CheckButton:EnableJoystick(enable) Enables or disables joystick interactivity.
CheckButton:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
CheckButton:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = CheckButton:CreateTitleRegion() Creates a title region for dragging the frame.
texture = CheckButton:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = CheckButton:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
enabled = CheckButton:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
CheckButton:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
Button:UnregisterEvent("event") Unregisters the frame for an event.
Button:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
Button:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
Button:StartSizing() Begins resizing the frame via mouse movement.
Button:StartMoving() Begins repositioning the frame via mouse movement.
Button:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
Button:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
Button:SetScale(scale) Sets the frame's scale factor.
Button:SetResizable(enable) Sets whether the frame can be resized by the user.
Button:SetPropagateKeyboardInput() Функция еще не задокументированна.
Button:SetMovable(enable) Sets whether the frame can be moved by the user.
Button:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.
Button:SetMaxResize(maxWidth, maxHeight) Sets the maximum size of the frame for user resizing.
Button:SetID(id) Sets a numeric identifier for the frame.
Button:SetHitRectInsets(left, right, top, bottom) Sets the insets from the frame's edges which determine its mouse-interactable area.
Button:SetFrameStrata("strata") Sets the general layering strata of the frame.
Button:SetFrameLevel(level) Sets the level at which the frame is layered relative to others in its strata.
Button:SetDontSavePosition() Функция еще не задокументированна.
Button:SetDepth(depth) Sets the 3D depth of the frame (for stereoscopic 3D configurations)
Button:SetClampedToScreen(enable) Sets whether the frame's boundaries should be limited to those of the screen.
Button:SetClampRectInsets(left, right, top, bottom) Sets offsets from the frame's edges used when limiting user movement or resizing of the frame.
Button:SetBackdropColor(red, green, blue [, alpha]) Sets a shading color for the frame's background graphic.
Button:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
Button:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
Button:SetAttribute("name", value) Sets a secure frame attribute.
Button:RegisterForDrag(...) Registers the frame for dragging.
Button:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
Button:RegisterAllEvents() Registers the frame for all events.
Button:Raise() Increases the frame's frame level above all other frames in its strata.
Button:Lower() Reduces the frame's frame level below all other frames in its strata.
enabled = Button:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = Button:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
enabled = Button:IsResizable() Returns whether the frame can be resized by the user.
movable = Button:IsMovable() Returns whether the frame can be moved by the user.
enabled = Button:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
enabled = Button:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = Button:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.