RSS

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

Фрейм

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

В категории материалов: 1617
Показано материалов: 601-650
Страницы: « 1 2 ... 11 12 13 14 15 ... 32 33 »

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