RSS

Суббота, 28.12.2024, 01:16
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 1701-1750
Страницы: « 1 2 ... 33 34 35 36 37 ... 141 142 »

Название Описание
value = ScrollFrame:GetAttribute("name") Returns the value of a secure frame attribute.
... = ScrollFrame:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = ScrollFrame:GetAlpha() Returns the opacity of the region relative to its parent.
ScrollFrame:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
ScrollFrame:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
ScrollFrame:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
ScrollFrame:EnableJoystick(enable) Enables or disables joystick interactivity.
ScrollFrame:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
ScrollFrame:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = ScrollFrame:CreateTitleRegion() Creates a title region for dragging the frame.
texture = ScrollFrame:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = ScrollFrame:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = ScrollFrame:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
ScrollFrame:ClearAllPoints() Removes all anchor points from the region.
canChange = ScrollFrame:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = ScrollFrame:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
ScrollFrame:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
ScriptObject:SetScript("scriptType", handler) Sets the widget's handler function for a script.
ScriptObject:HookScript("scriptType", handler) Securely hooks a script handler.
hasScript = ScriptObject:HasScript("scriptType") Returns whether the widget supports a script handler.
handler = ScriptObject:GetScript("scriptType") Returns the widget's handler function for a script.
Scale:Stop() Stops the animation.
Scale:SetStartDelay(delay) Sets the amount of time for the animation to delay before its progress begins.
Scale:SetSmoothing("smoothType") Sets the smoothing type for the animation.
Scale:SetSmoothProgress() Функция еще не задокументированна.
Scale:SetScript("scriptType", handler) Sets the widget's handler function for a script.
Scale:SetScale(xFactor, yFactor) Sets the animation's scaling factors.
Scale:SetParent(animGroup) or Scale:SetParent("animGroupName") Sets the parent for the animation.
Scale:SetOrigin("point", xOffset, yOffset) Sets the scale animation's origin point.
Scale:SetOrder(order) Sets the order for the animation to play within its parent group.
Scale:SetEndDelay(delay) Sets the amount of time for the animation to delay after finishing.
Scale:SetDuration(duration) Sets the time for the animation to progress from start to finish.
Scale:Play() Plays the animation.
Scale:Pause() Pauses the animation.
stopped = Scale:IsStopped() Returns whether the animation is currently stopped.
playing = Scale:IsPlaying() Returns whether the animation is currently playing.
paused = Scale:IsPaused() Returns whether the animation is currently paused.
isType = Scale:IsObjectType("type") Returns whether the object belongs to a given widget type.
done = Scale:IsDone() Returns whether the animation has finished playing.
delaying = Scale:IsDelaying() Returns whether the animation is currently in the middle of a start or end delay.
Scale:HookScript("scriptType", handler) Securely hooks a script handler.
hasScript = Scale:HasScript("scriptType") Returns whether the widget supports a script handler.
delay = Scale:GetStartDelay() Returns the amount of time the animation delays before its progress begins.
smoothType = Scale:GetSmoothing() Returns the smoothing type for the animation.
progress = Scale:GetSmoothProgress() Returns the progress of the animation (ignoring start and end delay)
handler = Scale:GetScript("scriptType") Returns the widget's handler function for a script.
xFactor, yFactor = Scale:GetScale() Returns the animation's scaling factors.
region = Scale:GetRegionParent() Returns the `Region` object on which the animation operates.
progress = Scale:GetProgressWithDelay() Returns the progress of the animation and associated delays.
progress = Scale:GetProgress() Returns the progress of an animation, ignoring smoothing effects.