RSS

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

Фрейм

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

В категории материалов: 1617
Показано материалов: 751-800
Страницы: « 1 2 ... 14 15 16 17 18 ... 32 33 »

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