RSS

Пятница, 01.11.2024, 21:36
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 1251-1300
Страницы: « 1 2 ... 24 25 26 27 28 ... 141 142 »

Название Описание
maxWidth, maxHeight = Slider:GetMaxResize() Returns the maximum size of the frame for user resizing.
left = Slider:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
id = Slider:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = Slider:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
height = Slider:GetHeight() Returns the height of the region.
strata = Slider:GetFrameStrata() Returns the general layering strata of the frame.
level = Slider:GetFrameLevel() Sets the level at which the frame is layered relative to others in its strata.
scale = Slider:GetEffectiveScale() Returns the overall scale factor of the frame.
depth = Slider:GetEffectiveDepth() Returns the overall 3D depth of the frame (for stereoscopic 3D configurations)
alpha = Slider:GetEffectiveAlpha() Returns the overall opacity of the frame.
Slider:GetDontSavePosition() Функция еще не задокументированна.
depth = Slider:GetDepth() Returns the 3D depth of the frame (for stereoscopic 3D setups)
left, right, top, bottom = Slider:GetClampRectInsets() Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
... = Slider:GetChildren() Returns a list of child frames of the frame.
x, y = Slider:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = Slider:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = Slider:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = Slider:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = Slider:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = Slider:GetBackdrop() Returns information about the frame's backdrop graphic.
value = Slider:GetAttribute("name") Returns the value of a secure frame attribute.
... = Slider:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = Slider:GetAlpha() Returns the opacity of the region relative to its parent.
Slider:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
Slider:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
Slider:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
Slider:EnableJoystick(enable) Enables or disables joystick interactivity.
Slider:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
Slider:Enable() Allows user interaction with the slider.
Slider:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
Slider:Disable() Disallows user interaction with the slider.
region = Slider:CreateTitleRegion() Creates a title region for dragging the frame.
texture = Slider:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = Slider:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = Slider:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
Slider:ClearAllPoints() Removes all anchor points from the region.
canChange = Slider:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = Slider:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
Slider:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
SimpleHTML:UnregisterEvent("event") Unregisters the frame for an event.
SimpleHTML:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
SimpleHTML:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
SimpleHTML:StopAnimating() Stops any active animations involving the region or its children.
SimpleHTML:StartSizing() Begins resizing the frame via mouse movement.
SimpleHTML:StartMoving() Begins repositioning the frame via mouse movement.
SimpleHTML:Show() Shows the region.
SimpleHTML:SetWidth(width) Sets the region's width.
SimpleHTML:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
SimpleHTML:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
SimpleHTML:SetTextColor(["element",] textR, textG, textB, textAlpha) Sets the color of text in the frame.