Mercurial > wow > breuesk
comparison Gui.lua @ 43:4109683c3172
Kept AceConsole embedded - it handily disables the chat commands when the addon is disabled
Did a little passthrough to properly set the self param for commands like Print()
author | John@Yosemite-PC |
---|---|
date | Thu, 15 Mar 2012 22:27:51 -0400 |
parents | 72055fc7e115 |
children | 11f18e279229 |
comparison
equal
deleted
inserted
replaced
42:72055fc7e115 | 43:4109683c3172 |
---|---|
141 --pulldown:EnableButtonTooltips(false) | 141 --pulldown:EnableButtonTooltips(false) |
142 --pulldown:SetFullWidth(true) | 142 --pulldown:SetFullWidth(true) |
143 --pulldown:SetFullHeight(true) | 143 --pulldown:SetFullHeight(true) |
144 --pulldown:SetAutoAdjustHeight(false) | 144 --pulldown:SetAutoAdjustHeight(false) |
145 | 145 |
146 --pulldown:SetCallback("OnGroupSelected", function(widget,_,uniquevalue) bsk:Print("OGS: uniquevalue: "..uniquevalue) | 146 --pulldown:SetCallback("OnGroupSelected", function(widget,_,uniquevalue) print("OGS: uniquevalue: "..uniquevalue) |
147 --end) | 147 --end) |
148 --pulldown:SetCallback("OnClick", function(widget,_,uniquevalue) bsk:Print("Onclick: uniquevalue: " .. uniquevalue) end) | 148 --pulldown:SetCallback("OnClick", function(widget,_,uniquevalue) print("Onclick: uniquevalue: " .. uniquevalue) end) |
149 --pulldown:SetCallback("OnButtonEnter", function(widget,_,value) bsk:Print("OnButtonEnter: value: " .. value) end) | 149 --pulldown:SetCallback("OnButtonEnter", function(widget,_,value) print("OnButtonEnter: value: " .. value) end) |
150 | 150 |
151 | 151 |
152 end | 152 end |
153 end | 153 end |
154 | 154 |
215 | 215 |
216 -- Create a button | 216 -- Create a button |
217 --local btn = AceGUI:Create("Button") | 217 --local btn = AceGUI:Create("Button") |
218 --btn:SetWidth(170) | 218 --btn:SetWidth(170) |
219 --btn:SetText("Button !") | 219 --btn:SetText("Button !") |
220 --btn:SetCallback("OnClick", function() bsk:print("Click!") end) | 220 --btn:SetCallback("OnClick", function() Print("Click!") end) |
221 -- Add the button to the container | 221 -- Add the button to the container |
222 --frame:AddChild(btn) | 222 --frame:AddChild(btn) |
223 end | 223 end |
224 | 224 |
225 | 225 |