RSS

Вторник, 24.12.2024, 20:27
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 1151-1200
Страницы: « 1 2 ... 22 23 24 25 26 ... 141 142 »

Название Описание
StatusBar:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
StatusBar:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = StatusBar:CreateTitleRegion() Creates a title region for dragging the frame.
texture = StatusBar:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = StatusBar:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = StatusBar:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
StatusBar:ClearAllPoints() Removes all anchor points from the region.
canChange = StatusBar:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = StatusBar:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
StatusBar:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
Slider:UnregisterEvent("event") Unregisters the frame for an event.
Slider:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
Slider:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
Slider:StopAnimating() Stops any active animations involving the region or its children.
Slider:StartSizing() Begins resizing the frame via mouse movement.
Slider:StartMoving() Begins repositioning the frame via mouse movement.
Slider:Show() Shows the region.
Slider:SetWidth(width) Sets the region's width.
Slider:SetValueStep(step) Sets the minimum increment between allowed slider values.
Slider:SetValue(value) Sets the value representing the position of the slider thumb.
Slider:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
Slider:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
Slider:SetThumbTexture(texture [, "layer"]) or Slider:SetThumbTexture("filename" [, "layer"]) Sets the texture for the slider thumb.
Slider:SetSize(width, height) Sets the size of the region to the specified values.
Slider:SetScript("scriptType", handler) Sets the widget's handler function for a script.
Slider:SetScale(scale) Sets the frame's scale factor.
Slider:SetResizable(enable) Sets whether the frame can be resized by the user.
Slider:SetPropagateKeyboardInput() Функция еще не задокументированна.
Slider:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
Slider:SetParent(frame) or Slider:SetParent("name") Makes another frame the parent of this region.
Slider:SetOrientation("orientation") Sets the orientation of the slider.
Slider:SetMovable(enable) Sets whether the frame can be moved by the user.
Slider:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.
Slider:SetMinMaxValues(minValue, maxValue) Sets the minimum and maximum values for the slider.
Slider:SetMaxResize(maxWidth, maxHeight) Sets the maximum size of the frame for user resizing.
Slider:SetID(id) Sets a numeric identifier for the frame.
Slider:SetHitRectInsets(left, right, top, bottom) Sets the insets from the frame's edges which determine its mouse-interactable area.
Slider:SetHeight(height) Sets the region's height.
Slider:SetFrameStrata("strata") Sets the general layering strata of the frame.
Slider:SetFrameLevel(level) Sets the level at which the frame is layered relative to others in its strata.
Slider:SetDontSavePosition() Функция еще не задокументированна.
Slider:SetDepth(depth) Sets the 3D depth of the frame (for stereoscopic 3D configurations)
Slider:SetClampedToScreen(enable) Sets whether the frame's boundaries should be limited to those of the screen.
Slider:SetClampRectInsets(left, right, top, bottom) Sets offsets from the frame's edges used when limiting user movement or resizing of the frame.
Slider:SetBackdropColor(red, green, blue [, alpha]) Sets a shading color for the frame's background graphic.
Slider:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
Slider:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
Slider:SetAttribute("name", value) Sets a secure frame attribute.
Slider:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
Slider:SetAllPoints([region]) or Slider:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.