I'm working on my second addon (the first being a minimap hide/unhide mod) and I'm kinda stumped as to how to go about getting what I want done.
My idea was to have a frame with a small box like you'd see on an action bar and a button to which you could click to assign a keystroke. Ultimately there'd be a lot of these, to which the user could add, delete or modify from the list.
The part I'm stumped on is the box where you would drag abilities, macros and items, which would later be used by hitting the assigned key. How do you accept an item or ability and how would you access it later?