Thank you, very appreciate, this code snippets was very helpfully from you guys
Banknorris and
SDPhantom (thanks for simpler version, it's more clear for me now).
I figure out how to make buttons and bind them due to your help.
Only thing that still complicated and hard for me: make this buttons read drag-and-drop abilities/macros. (Example: I got simple
[ButtonCTRLF2] with KeyBind
CTRL+F2, and with empty
[SetAttribute] and I'd like to make this button "read" drag-and-
dropped abilities or macros, and then this button will change Icon and will cast spell by id or macros by name that I dropped.
I spend lot's of time and hours reading different codes including Blizzard's Action Bars or
Button Forge to get at least minimal Ideas how to implement it, and I realize that without external help, I wont be able to to finish my AddOn, I will very appreciate any help, ideas or thoughts.