m
→Parent Dragging: Updated - We now have the SetMovable widget function
No edit summary |
m (→Parent Dragging: Updated - We now have the SetMovable widget function) |
||
| Line 54: | Line 54: | ||
== Parent Dragging == | == Parent Dragging == | ||
Some advanced dragging addons use overlays that make default | Some advanced dragging addons use overlays that make default Blizzard frames draggable. This is possible by using GetParent when starting and stopping drag. To do this, one must make the parent frame movable through the use of the SetMovable widget function, i.e. <tt>''frame'':SetMovable(true)</tt>. One drawback with overlay frames that are mouse enabled is that they will prevent the parent frame's click script tags from being called so you often have to simulate their click events. | ||
== Quick Dragging Code == | == Quick Dragging Code == | ||