You can only do that by choosing "Custom" for AnchoredTo option and then writing code that finds the correct actionbutton and returns it.
It still has to be a frame in the end, it can't be linked directly to a spell but you can write a snippet that finds the button on the actionbars and returns it.
|