Add item to the keybind bar?
You know the keybind bar, that bar at the bottom of the vanilla UI elements, that says, for example when looting, "Take [E]" "Take All [R]" "Exit [Alt]" ? Does anyone know how to add my own button to the pre-existing bar?
I know the bar is controlled by the KEYBIND_STRIP global. I know there are functions within this variable called AddKeybindButton(), AddKeybindButtonGroup(), and AddButtonToAnchors(). Does anyone know the arguments that these functions might take?
Also, when do I call the function to add the keybind to the bar? Do I call when the provisioning window opens? Sometime before or after? Do I trigger it with an event callback?
Thanks in advance!
|