Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Widget API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Region Derivatives == Have all of the methods from [[#UIObject|UIObject]] and [[#Region|Region]], plus the following: === [[UIOBJECT Frame|Frame]] === : {{id|API|Frame|CreateFontString}}(["name"[,"[[layer]]"[,"inheritsFrom"]]]) - Create and return FontString as a child of this Frame (added 'InheritsFrom' 1.11) : {{id|API|Frame|CreateTexture}}(["name"[,"[[layer]]"]][,"inheritsFrom"]) - Create and return Texture as a child of this Frame. Good for solid colors. - (added 'InheritsFrom' 1.11) : {{id|API|Frame|CreateTitleRegion}}() - Create a title region for the frame if it does not have one. (added 1.11) : {{id|API|Frame|DisableDrawLayer}}("[[layer]]") - Disable rendering of "regions" (fontstrings, textures) in the specified draw layer. : {{id|API|Frame|EnableDrawLayer}}("[[layer]]") - Enable rendering of "regions" (fontstrings, textures) in the specified draw layer. : {{id|API|Frame|EnableKeyboard}}(enableFlag) - Set whether this frame will get keyboard input. : {{id|API|Frame|EnableMouse}}(enableFlag) - Set whether this frame will get mouse input. : {{id|API|Frame|EnableMouseWheel}}(enableFlag) - Set whether this frame will get mouse wheel notifications. : {{id|API|Frame|GetAttribute}}(prefix, name, suffix) - Returns the first existing attribute of (prefix..name..suffix), ("*"..name..suffix), (prefix..name.."*"), ("*"..name.."*"), (name). : {{id|API|Frame|GetBackdrop}}() - Creates and returns a backdrop table suitable for use in SetBackdrop (added 1.11) : {{id|API|Frame|GetBackdropBorderColor}}() - Gets the frame's backdrop border color (r, g, b, a) (added 1.11) : {{id|API|Frame|GetBackdropColor}}() - Gets the frame's backdrop color (r, g, b, a) (added 1.11) : {{id|API|Frame|GetChildren}}() - Get the list of "children" (frames and things derived from frames) of this frame. : {{id|API|Frame|GetClampRectInsets}}() - Gets the modifiers to the frame's rectangle used for clamping the frame to screen. : {{id|API|Frame|GetDepth}}() (added 3.0.8) : {{id|API|Frame|GetEffectiveAlpha}}() - Returns the effective alpha of a frame. (added 2.1) : {{id|API|Frame|GetEffectiveDepth}}() (added 3.0.8) : {{id|API|Frame|GetEffectiveScale}}() - Get the scale factor of this object relative to the root window. : {{id|API|Frame|GetFrameLevel}}() - Get the level of this frame. : {{id|API|Frame|GetFrameStrata}}() - Get the strata of this frame. : {{id|API|Frame|GetFrameType}}() - Get the type of this frame. : {{id|API|Frame|GetHitRectInsets}}() - Gets the frame's hit rectangle inset distances (l, r, t, b) (added 1.11) : {{id|API|Frame|GetID}}() - Get the ID of this frame. : {{id|API|Frame|GetMaxResize}}() - Gets the frame's maximum allowed resize bounds (w, h) (added 1.11) : {{id|API|Frame|GetMinResize}}() - Gets the frame's minimum allowed resize bounds (w, h) (added 1.11) : {{id|API|Frame|GetNumChildren}}() - Get the number of "children" (frames and things derived from frames) this frame has. : {{id|API|Frame|GetNumRegions}}() - Return the number of "regions" (fontstrings, textures) belonging to this frame. : {{id|API|Frame|GetRegions}}() - Return the "regions" (fontstrings, textures) of the frame (multiple return values) belonging to this frame. : {{id|API|Frame|GetScale}}() - Get the scale factor of this object relative to its parent. : {{id|API|Frame|GetScript}}("handler") - Get the function for one of this frame's handlers. : {{id|API|Frame|GetTitleRegion}}() - Return the frame's title region (added 1.11) : {{id|API|Frame|HasScript}}("handler") - Return true if the frame can be given a handler of the specified type (NOT whether it actually HAS one, use GetScript for that) (added 1.8) : {{id|API|Frame|HookScript}}("handler", function) - Hook a secure frame script. - Since 2.1. : {{id|API|Frame|IgnoreDepth}}(ignoreFlag) (added 3.0.8) : {{id|API|Frame|IsClampedToScreen}}() - Gets whether the frame is prohibited from being dragged off screen (added 1.11) : {{id|API|Frame|IsEventRegistered}}("event") - Returns true if the given event is registered to the frame. (added 2.3) : {{id|API|Frame|IsFrameType}}("type") - Determine if this frame is of the specified type, or a subclass of that type. : {{id|API|Frame|IsIgnoringDepth}}() (added 3.0.8) : {{id|API|Frame|IsKeyboardEnabled}}() - Get whether this frame will get keyboard input. (added 1.11) : {{id|API|Frame|IsMouseEnabled}}() - Get whether this frame will get mouse input. (added 1.11) : {{id|API|Frame|IsMouseWheelEnabled}}() - Get whether this frame will get mouse wheel notifications. (added 1.11) : {{id|API|Frame|IsMovable}}() - Determine if the frame can be moved. : {{id|API|Frame|IsResizable}}() - Determine if the frame can be resized. : {{id|API|Frame|IsToplevel}}() - Get whether the frame is set as toplevel (added 1.10.2) : {{id|API|Frame|IsUserPlaced}}() - Determine if this frame has been relocated by the user. : {{id|API|Frame|Lower}}() - Lower this frame behind other frames. : {{id|API|Frame|Raise}}() - Raise this frame above other frames. : {{id|API|Frame|RegisterAllEvents}}() - Register this frame to receive all events (For debugging purposes only!) (added 1.11) : {{id|API|Frame|RegisterEvent}}("event") - Indicate that this frame should be notified when event occurs. : {{id|API|Frame|RegisterForDrag}}("buttonType"[,"buttonType"...]) - Inidicate that this frame should be notified of drag events for the specified buttons. : {{id|API|Frame|SetBackdrop}}([backdropTable]) - Set the backdrop of the frame according to the specification provided. : {{id|API|Frame|SetBackdropBorderColor}}(r, g, b[, a]) - Set the frame's backdrop's border's color. : {{id|API|Frame|SetBackdropColor}}(r, g, b[, a]) - Set the frame's backdrop color. : {{id|API|Frame|SetClampedToScreen}}(clamped) - Set whether the frame is prohibited from being dragged off screen (added 1.11) : {{id|API|Frame|SetClampRectInsets}}(left, right, top, bottom) - Modify the frame's rectangle used to prevent dragging offscreen. : {{id|API|Frame|SetDepth}}(depth) (added 3.0.8) : {{id|API|Frame|SetFrameLevel}}(level) - Set the level of this frame (determines which of overlapping frames shows on top). : {{id|API|Frame|SetFrameStrata}}("strata") - Set the strata of this frame. : {{id|API|Frame|SetHitRectInsets}}(left, right, top, bottom) - Set the inset distances for the frame's hit rectangle (added 1.11) : {{id|API|Frame|SetID}}(id) - Set the ID of this frame. : {{id|API|Frame|SetMaxResize}}(maxWidth, maxHeight) - Set the maximum dimensions this frame can be resized to. : {{id|API|Frame|SetMinResize}}(minWidth, minHeight) - Set the minimum dimensions this frame can be resized to. : {{id|API|Frame|SetMovable}}(isMovable) - Set whether the frame can be moved. : {{id|API|Frame|SetResizable}}(isResizable) - Set whether the frame can be resized. : {{id|API|Frame|SetScale}}(scale) - Set the scale factor of this frame relative to its parent. : {{id|API|Frame|SetScript}}("handler", function) - Set the function to use for a handler on this frame. : {{id|API|Frame|SetToplevel}}(isTopLevel) - Set whether the frame should raise itself when clicked (added 1.10.2) : {{id|API|Frame|SetUserPlaced}}(isUserPlaced) - Set whether the frame has been relocated by the user, and will thus be saved in the layout cache. : {{id|API|Frame|StartMoving}}() - Start moving this frame. : {{id|API|Frame|StartSizing}}("point") - Start sizing this frame using the specified anchor point. : {{id|API|Frame|StopMovingOrSizing}}() - Stop moving and/or sizing this frame. : {{id|API|Frame|UnregisterAllEvents}}() - Indicate that this frame should no longer be notified when any events occur. : {{id|API|Frame|UnregisterEvent}}("event") - Indicate that this frame should no longer be notified when event occurs. === [[UIOBJECT LayeredRegion|LayeredRegion]] === An abstract type for objects that represent a potentially visible area defined in a layer. : {{id|API|LayeredRegion|GetDrawLayer}}() - Returns the [[Layer|draw layer]] for the Region (added 1.10) : {{id|API|LayeredRegion|SetDrawLayer}}("layer") - Sets the [[Layer|draw layer]] for the Region (added 1.10) : {{id|API|LayeredRegion|SetVertexColor}}(r, g, b[, alpha])
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)