PitBull Unit Frames 4.0

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()


PitBull4:SetConfigMode(kind)

Set the config mode type.
This will error if you pass in a wrong param. See PitBull4:GetConfigModeValues().

Parameters

kind
nil or "disabled" to disable, or one of the other keys from PitBull4:GetConfigModeValues().

Usage

PitBull4:SetConfigMode(nil)
PitBull4:SetConfigMode("disabled")
PitBull4:SetConfigMode("solo")


You must login to post a comment. Don't have an account? Register to get one!