LibDialog-1.0

  • 4 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Widget Reference Torhal Torhal Sep 21, 2014
Buttons Values text The text displayed on the Button. Required. (string) Scripts on_click = function(self, mouseButton, down) Run when the Button is clicked. Arguments self - Reference to the Button for which the script was run. (frame) mouseButton - Name of the mouse button responsible for the click action. (string) Button4 Button5 LeftButton MiddleButton RightButton down - True for a mouse button down action; false for button up or other actions. (boolean) Example...
Delegate Reference Torhal Torhal Sep 21, 2014
Delegates Delegates are tables which contain the setup properties for Dialogs; they are essentially templates that determine a Dialog's appearance and behavior based on a set of values, scripts, and widgets. Values cancels_on_spawn When the Dialog is spawned, it will cancel all other Dialogs named in the list. (table) Example LibDialog:Register("KillMyOtherDialogsExample", { cancels_on_spawn = { "MyAwesomeDialog", "MyNotSoGreatDialog", }, hide_on_escape = true, }) duration Number of seconds...
API Reference Torhal Torhal Sep 21, 2014
Library Methods :Register(delegate_name, delegate) Registers a new dialog delegate. Arguments delegate_name string - The name the delegate table will be registered under. delegate table - The delegate properties definition. (Delegate Reference.) :Spawn(reference[, data]) Spawns a dialog from a delegate reference. Arguments reference string or table - The delegate to be used for the spawned dialog. Can be either a string, in which case the delegate must be registered, or a delegate definition...
Main Torhal Torhal Sep 21, 2014
LibDialog-1.0 provides methods for creating dialogs similar to Blizzard's default StaticPopup dialogs, with additions (such as multiple CheckButtons) and improvements (such as multiple EditBoxes, frame and widget recycling, and not tainting default UI elements). API Reference. Delegate Reference. Widget Reference.
  • 4 pages found