Within a Group of Tool widgets only one may be selected at a time.
Tool(group,widget=None,value=None)
- group
a gui.Group for the Tool to belong to
- widget
a widget to appear on the Tool (similar to a Button)
- value
the value
Example
g = gui.Group(name='colors',value='g')
t = gui.Table()
t.tr()
t.td(gui.Tool(g,'Red','r'))
t.tr()
t.td(gui.Tool(g,'Green','g'))
t.tr()
t.td(gui.Tool(g,'Blue','b'))