RSS

Среда, 06.11.2024, 14:28
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 4001-4050
Страницы: « 1 2 ... 79 80 81 82 83 ... 141 142 »

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