View Single Post
01/07/16, 06:50 PM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
They have an OnReceiveDrag, here is an example that prints the name of the inventory item or skill & sets the button texture to that item/skill:

XML:
Warning: Spoiler


Lua:
Warning: Spoiler


EDIT: You don't have to do it with xml. You could set the handler with lua also:
Lua Code:
  1. TestAddon_Drag:SetHandler("OnReceiveDrag", TestAddon.OnDragReceive)

Last edited by circonian : 01/07/16 at 06:53 PM.
  Reply With Quote