awsmDropdown

Code Examples

  • 3 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Creating Dropdowns (Dropdown Playground) Noguai Noguai Apr 25, 2013
In awsmDropdown dropdowns are specified as an array of buttons, in which each button is represented by it's own table (the buttons data) where fields set several properties of it. This is an example addon to show of the basic structure and use of the available button types. You might want to look into the API pages for a list of all available fields. Lua Code (defining toggling functions, dropdowns and dummy variables) -- Create the addon namespace local Addon = { BoxChecked = false, --...
Creating Dropdowns (ZZInfoBar Mainmenu Dropdown) Noguai Noguai Apr 25, 2013
This code example shows, how ZZInfoBar uses awsmDropdown to generate it's main menu dropdown: function Menu.Create() Menu.DropdownBackButton = { Title = ZZIB.Locale.Get("ZZIB_BACK"), Click = awsmDropdown.Back, Icon = "interface/mainmenuframe/mainpopupbutton-icon-close.tga", } Menu.DropdownMainmenu = { { Title = ZZIB.System.Name.." "..ZZIB.Locale.Get("ZZIB_OPENSETTINGS"), Click = function() awsmDropdown.BuildConfig(ZZIB.Settings, ZZIB.Locales, ZZIB_Config, ZZIB.Config.Apply, true) end, Icon =...
Generating a configuration dropdown Noguai Noguai Apr 25, 2013
coming soon
  • 3 pages found