/trunk
SaveBindings(GetCurrentBindingSet()) |
end |
local func = self.func or self.OnKeyChanged |
if func then |
func(self, value) |
local callback = self.OnValueChanged |
if callback then |
callback(self, value) |
end |
end |
self.tooltipText = text |
end |
function methods:SetFunction(func) |
self.func = func |
function methods:SetCallback(func) |
self.OnValueChanged = func |
end |
function methods:SetPoint(...) |