Pedro Jorge Caridade wrote: > Now, I need to know in which part of the self.QueuePile pile I have the > focus in order to use self.queue_widget.get_focus()[1] and process the > row. Is this the proper way to know where I have the focus? When I use > self.QueuePile.get_focus() and don't get what I want, it returns: > <urwid.widget.AttrWrap object at 0x9e1b78c> . Can somebody help me on this?
If you want the widget wrapped by an AttrWrap you can use the .w attribute to get the original widget, but I can't tell from your code because the spacing seems to have been broken by your email client. If this doesn't fix it would you send your code again as attachment? Ian _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
