Skip to content

Instantly share code, notes, and snippets.

@daviddyball
Created March 17, 2014 20:17
Show Gist options
  • Save daviddyball/9607428 to your computer and use it in GitHub Desktop.
Save daviddyball/9607428 to your computer and use it in GitHub Desktop.
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