WowAce.com
Home
Addons
Authors
Forums
Knowledge base
Paste
Site issues
Sign in
Register new account
PitBull Unit Frames 4.0
Overview
Files
Tickets
Pages
Repositories
Localization
Subscriptions
Donate
Curse
API
/
Options
/
Colors
r7
Source
Markup:
*
== Module:SetColorOptionsFunction(func) Set the function to be called that will return a tuple of key-value pairs that will cause an options table show in the colors section. \\The last return must be a function that resets all colors. === Parameters ; func : function to call === Usage <<code lua>> MyModule:SetColorOptionsFunction(function(self) return 'someOption', { name = "Some option", }, -- etc function(info) -- reset all colors end end) <</code>> \\
Markup Type:
*
The type of markup for this entry.
Click here for details
.
WikiCreole
BBCode
Safe HTML
Plain Text
Markdown
Textile
Curse Wiki (Deprecated)