Download
(9 Kb)
Download
Updated: 03/14/23 07:54 AM
Addon for:
LibAddonMenu-2.0.
Pictures
File Info
Compatibility:
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:03/14/23 07:54 AM
Created:07/31/22 06:08 PM
Monthly downloads:2,192
Total downloads:53,437
Favorites:11
MD5:
LibAddonMenu - MultiSelect dropdown widget  Popular! (More than 5000 hits)
Version: 2
by: Baertram [More]
LibAddonMenu - MultiSelect dropdown widget

A multi select dropdown box widget for the library LibAddonMenu.
Just install it in addition to LibAddonMenu-2.0 (release 33 or newer is needed!) and use the new widget type "multiselectdropdown" in your addon' settings panel.

Add to your manifest txt file:
Code:
## DependsOn: LibAddonMenuMultiSelectDropdown
Provides the following parameters:

Code:
--For the LAM optionsData at you panel's data
--[[dropdownData = {
    type = "multiselectdropdown",
    name = "My Multi Select Dropdown", -- or string id or function returning a string
    noSelectionText = GetString(SI_KEEPRESOURCETYPE0), -- String or function returning a string to show if no selection was done yet
    multiSelectionTextFormatter = "<<1[$d Item/$d Items]>>" -- if specified, this will be used with zo_strformat(multiSelectionTextFormat, numSelectedItems) to set the "selected item text" (optional)
    tooltip = "Dropdown's tooltip text.", -- or string id or function returning a string (optional)
    multiSelectType = "normal", -- or "allowed". "normal" = a list with key = number index an value = String, "allowed" = a list with key = any String or number and value = boolean. If value == true then the entry will be added. Default = "normal" (optional)
    choices = {"table", "of", "choices"},
    choicesValues = {"foo", 2, "three"}, -- if specified, these values will get passed to setFunc instead (optional)
    choicesTooltips = {"tooltip 1", "tooltip 2", "tooltip 3"}, -- or array of string ids or array of functions returning a string (optional)
    getFunc = function() return db.var end,
    setFunc = function(var) db.var = var doStuff() end,
    sort = "name-up", -- or "name-down", "numeric-up", "numeric-down", "value-up", "value-down", "numericvalue-up", "numericvalue-down" (optional) - if not provided, list will not be sorted
    width = "full", -- or "half" (optional)
    disabled = function() return db.someBooleanSetting end, -- or boolean (optional)
    warning = "May cause permanent awesomeness.", -- or string id or function returning a string (optional)
    requiresReload = false, -- boolean, if set to true, the warning text will contain a notice that changes are only applied after an UI reload and any change to the value will make the "Apply Settings" button appear on the panel which will reload the UI when pressed (optional)
    default = default.var, -- default values or function that returns the default values (optional)
    helpUrl = "https://www.esoui.com/portal.php?id=218&a=faq", -- a string URL or a function that returns the string URL (optional)
    reference = "MyAddonMultiSelectDropdown" -- unique global reference to control (optional)
} ]]
Important
The getFunc needs to pass in the table with ONLY the entries which have been selected!
The setFunc will save ONLY the selected entries to the SavedVariables!
You need to specify ALL possible entries with the parameter "choices".

GitHub
https://github.com/Baertram/LibAddon...SelectDropdown

Documentation

Many thanks to zoller27osu for the inspiration/idea.
v2 - 2023-03-14
-Updated API
-Updated dependency version
-Added Spanish translation
-Added Chinese translation
Archived Files (1)
File Name
Version
Size
Uploader
Date
1
9kB
Baertram
07/31/22 06:08 PM


Post A Reply Comment Options
Unread 06/13/23, 03:22 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Originally Posted by iamdeadfrosty
not trolling, just such a brief description and all ur addons r like this
They are, really?
I doubt you have read "all" of my addons description then...
Read FCOItemSaver and other FCO addons e.g.
If this is too short for you and no enough info I'm concerned what book you need else

And there is no need to describe any further for "utilities" or "tools" or "plugins" that addon developers should use, or which only's purpose is described within 1 line?

I'm not a fan of general text like yours "all of your addons are described too short" etc.
If you provide details which addon is lacking information I can change that, but I'm not going to improve text length just because you had a bad day or do not understand the purpose of technical addons.

If you got questions, ask, and I always answer. You can check these forums here and official ESO forums, or ask everyone. I never stop to help.
But just reading such a 1 line about too short descriptions in ALL of my addons is like you are throwing stones from within a glass-house, isn't it?
Report comment to moderator  
Reply With Quote
Unread 06/12/23, 07:47 AM  
iamdeadfrosty

Forum posts: 0
File comments: 23
Uploads: 0
not trolling, just such a brief description and all ur addons r like this
Report comment to moderator  
Reply With Quote
Unread 06/11/23, 12:23 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
I don't know who that baertrum is and what mods you talk about, but thanks for your feedback.

If you do not understand the description of this addon "plugin" here:
It's a plugin for LibAddonMenu library, and it's for technical usage within addon's settings menus to show a multi-select dropdown menu.

Simple:
If any addon says it relys on this on (needed dependency): Install it.
If you do not install it, that other addon cannot run properly.


And if you just wanted to troll and write something to make your bad mood go away: Try cat videos at youtube, they might get you laugh
Please refrain from posting such comments again here. If I feel they are too generic and just negativ, I'll simpyl delete them or close the comments section to keep it clean for the interested users.

If you want to provide real feedback or need help feel free to ask, politely and non-generic. Thank you
Last edited by Baertram : 06/11/23 at 12:25 PM.
Report comment to moderator  
Reply With Quote
Unread 06/11/23, 09:08 AM  
iamdeadfrosty

Forum posts: 0
File comments: 23
Uploads: 0
no sense

baertrum none of ur mods have intelligible descriptions
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: