~richardjones/withgui/trunk

1
2
3
4
5
6
7
8
with gui.column():
    text = gui.label('hello!')
    items = gui.selection(['one', 'two', 'three'])
    with gui.button('click me!'):
        def on_click(button):
            text.value = items.value
            text.foreground = red