Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v1.0r5 release | 1.22 KB | Aug 16, 2016 | 8.1.0 +9 | 65 | Download |
LibDraggable-1.0r2 release | 1.38 KB | Aug 7, 2016 | 7.0.3 | 92 | Download |
LibDraggable-1.0r1 release | 1.28 KB | Jul 30, 2016 | 7.0.3 | 69 | Download |
LibDraggable-1.0 release | 1.12 KB | Jul 29, 2016 | 7.0.3 | 44 | Download |
Description
LibDraggable-1.0 API
LibDraggable:EnableIndirectDragging(frame, …)
Enabled a frame to be draggable by the child frames, but not by the parent itself.
Parameters
- frame
- The parent frame
- …
- Child frames
LibDraggable:EnableDragging(frame, …)
Enable a frame to be dragged as well as it's children.
Parameters
- frame
- The parent frame
- …
- Child frames
LibDraggable:DisableDragging(frame, …)
Disable dragging of a frame, and all it's children.
Parameters
- frame
- The parent frame
- …
- Child frames
LibDraggable:EnableSavePosition(frame, saved)
Enables the saving of the position for re-opening of the frame
Parameters
- frame
- Any of the frame, or the children frames which have been previously enabled for dragging
- saved
- A SavedVariable to read/write saved positions from.
LibDraggable:DisableSavePosition(frame)
Disables the saving of the position for re-opening of the frame
Parameters
- frame
- Any of the frame, or the children frames which have been previously enabled for dragging
LibDraggable:SetClampToScreen(frame, clamped)
Enables or disables clamping frames to the screen
Parameters
- frame
- Any of the frame, or the children frames which have been previously enabled for dragging
- clamped
- To enable or disable (true/false)
LibDraggable:SetDragonButton(frame, button)
Set the drag button for moving the frame
Parameters
- frame
- Any of the frame, or the children frames which have been previously enabled for dragging
- button
- Either of "LeftButton" or "RightButton"
Add a comment