| Colors |
ckknight |
ckknight |
05 Apr 2009 |
| 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 MyModule:SetColorOptionsFunction(function(self) return 'someOption', { name = "Some option", }, -- etc function(info) -- reset all colors end end) |
| ConfigMode |
ckknight |
ckknight |
05 Apr 2009 |
| PitBull4:GetConfigModeValues() Return the select values dictionary used by PitBull4 to choose config mode. Return value an AceConfig-3.0-compliant select values dictionary. Usage local values = PitBull4:GetConfigModeValues() PitBull4:IsInConfigMode() Return whether PitBull4 is in config mode, and if so, what type. Return value nil meaning disabled or one of the keys from PitBull4:GetConfigModeValues() (except "disabled") Usage local config_mode = PitBull4:IsInConfigMode()... |
| LayoutEditor |
|
|
05 Apr 2009 |
|
| Bars |
ckknight |
ckknight |
05 Apr 2009 |
| Texts |
ckknight |
ckknight |
05 Apr 2009 |
| Modules |
ckknight |
ckknight |
05 Apr 2009 |
| Module:SetGlobalOptionsFunction(func) Set the function to be called that will return a tuple of key-value pairs that will be merged onto the options table for the module options. Parameters func function to call Usage MyModule:SetGlobalOptionsFunction(function(self) return 'someOption', { name = "Some option", } -- etc end) |