Created
March 17, 2014 20:17
-
-
Save daviddyball/9607428 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rhs_top = ListBox(..) | |
rhs_bottom = ListBox(..) | |
rhs = Pile([ lhs_top, lhs_bittom ]) | |
lhs = ListBox(..) | |
columns = Columns([ lhs, rhs]) | |
frame = Frame(columns) | |
loop = MainLoop(frame) | |
... Later on ... | |
# Is this how I would Focus top-RHS? | |
loop.widget.body.columns.set_focus(rhs_top) | |
# Or would I do it like this? | |
loop.widget.body.columns[1].set_focus(rhs_top) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment