LibStickyFrames-2.0

Callbacks

Example

LibStickyFrames.RegisterCallback(addon, "eventName"[, method[, arg]])

function addon:method([arg, ]"eventName", callbackArgs)
	-- Do stuff here
end

See [[CallbackHandler-1.0/User_API]] for more

Events

OnSetGroup

Args

group:

Remarks

Fired when the sticky group is set. You can use lib:IsFrameGroup(frame, group) and lib:InFrameGroup(frame, group) to check if it applies to your frames

OnClick

Args

event: "OnClick"
frame: The frame that is being clicked
button: The button that caused the clicking

Remarks

Fired when an overlay of a frame is clicked

OnStartFrameMoving

Args

frame: The frame that is moving

Remarks

Fired when a frame starts moving

OnStopFrameMoving

Args

frame:
point:
relFrame:
relPoint:
x:
y:

Remarks

Fired when a frame stops moving

OnStickToFrame

Args

frame:
point:
relFrame:
relPoint:
x:
y:

Remarks

Fired when a frame snaps to another frame

You must login to post a comment. Don't have an account? Register to get one!