mammar wrote on 2010-12-24 18:25: > Hi All, > > > What could be the best way to loop through controls in a frame? What i > mean is how to get/know the next control/widget when a tab key is > pressed and then > move to next control/widget?
Right now you need to treat each container widget differently to move between the widgets they contain. See: http://excess.org/urwid/wiki/StandardWidgets#DecorationContainerWidgets Once I or someone else implements some of the changes described in: http://excess.org/urwid/wiki/Development Moving from one selectable widget to the next becomes a lot easier. I also have some ideas about ways that widgets could define a tab order regardless of their positions in container widgets, but there is no tidy general solution yet. Ian _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
