To create a SecureActionButton, simply create a button that inherits from the SecureActionButtonTemplate; to make the button instance useful, specify interesting attributes. This can be done in both XML, Lua and a mix of the two: Using XML: Using Lua: (Warning: the following code does nothing) local btn = CreateFrame("Button", "myButton", UIParent, "SecureActionButtonTemplate"); btn:SetAttribute("type", "action"); btn:SetAttribute("action", 1);
| Graph IRI | Count |
|---|---|
| http://dbkwik.webdatacommons.org | 6 |