I'm trying to add /pet melee and /pet ranged buttons to my pet window and these Icon things are really silly. There is no documentation about how they work. The Icons are used in the pet window, the persona window, the guild window, the maintained and effects windows, and maybe some others. They use something called ActionData for commands which don't correspond to anything anywhere. It seems like these ActionData commands are coded directly. Also, the pet window icons have a property called IconID which I can't make any sense out of.
I'd really like to make the new buttons feel like the other buttons but it doesn't seem possible with normal Buttons, and not Icons. So far I've tried making up ActionData commands, and putting in OnActivate, OnEnable, and OnPress properties but none of those seem to work.
For now I'll have to copy the type of button that Depeche Node used in his
pet window .
Othesus - Dirge - Lucan DLere
Vaspar - Fury - Lucan DLere