LibDraggable

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"

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

WoW