Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v1.1 release | 2.44 KB | Oct 16, 2020 | 9.0.1 +1 | 258 | ![]() |
v1.0 release | 2.42 KB | Aug 18, 2017 | 7.2.5 | 88,714 | ![]() |
v1.0-alpha2-1-g8f99dfb-alpha alpha | 2.42 KB | Oct 16, 2020 | 9.0.1 | 70 | ![]() |
v1.0-alpha1-1-gc072141-alpha alpha | 2.42 KB | Aug 18, 2017 | 7.2.5 | 36 | ![]() |
v1.0-alpha1 alpha | 2.38 KB | Aug 18, 2017 | 7.2.5 | 21 | ![]() |
Description
A selectable Panel Container for use with ACE3 GUI
To use this:
local selpanel = AceGUI:Create("SelectablePanel") selpanel:SetKey(key) -- Unique identifier selpanel:SetFullWidth(true) selpanel:SetHeight(300) viewframe.panels[key] = selpanel -- Add to an array of panels so I can iterate through them to clear them when i select a different panel. selpanel:SetCallback("OnClick", function(widget, _, selected, button) viewframe:clearpanels(widget, selected) -- Clear Panels allows you to clear other panels in an array when you select this one. end)<br /><br />-- add a label to the panel<br />local label = AceGUI:Create("Label")<br />label:SetText(sequencename)<br />label:SetFont(fontName, fontHeight + 4 , fontFlags)<br />selpanel:AddChild(label)<br /><br />...<br />container:AddChild(selpanel) -- Add it for display<br /><br /><br />
Add a comment