ToggleCheckList

class guerilla.ToggleCheckList

Bases: guerilla.CheckList

This class is a simple CheckList that only toggles items between the checked state and the default state

Widgets create with this class contain a State field that maps the item name to the true/false boolean.

For instance: LUA{ local list = ToggleCheckList.create (“flipflop”, parent) list.Items = { “One”, “Two”, “Three” }

– ... later in code if list.State.One then

print (“One is checked”)

end }