On Tue, Aug 6, 2013 at 12:09 AM, SHAIKH TAUSEEF HUSSAIN <[email protected]> wrote: > for j in range(3,len(tmpMap)) : > userChoicesText = > urwid.Text(tmpMap.get(listofKeysIntmpMap[j])) #this text gets updated so the > forloop works > > idx+=1 > rb = urwid.AttrMap(urwid.RadioButton(radioGroup, > userChoicesText, state=False), 'Bg')
RadioButton expects text markup, not a Text widget, try using: userChoicesText = tmpMap.get(listofKeysIntmpMap[j]) Ian _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
