We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Simple button widget generator for GUI configuration. Requires LibStub.
lib = LibStub("PhanxConfig-Button")
Create a clickable button with the typical "red button" appearance:
button = lib:New(parentFrame, labelText[, tooltipText])
parentFrame
labelText
tooltipText
Set a function to be run when the button is clicked:
button.OnClicked = function(self, mouseButton) ... end
Copyright © 2009–2014 Phanx. All rights reserved. You MAY distribute this library WITHOUT CHANGES inside addons that make use of it. You MAY NOT distribute this library by itself or with changes. You MAY use any or all of the source code from this library in your own library or addon, as long as you do not use the name of this library or the name of its author anywhere in your work outside of an optional attribution. See the comment header in the library file for more details.