(group, label, fn)
return w
Inheriting radio button of urwid
Inheriting radio button of urwid
Inheriting radio button of urwid
def radio_button(group, label, fn):
    """ Inheriting radio button of urwid """
    w = urwid.RadioButton(group, label, False, on_state_change=fn)
    w = urwid.AttrWrap(w, 'button normal', 'button select')
    return w
def radio_button ( group , label , fn ) : w = urwid . RadioButton ( group , label , False , on_state_change = fn ) w = urwid . AttrWrap ( w , 'button normal' , 'button select' ) return w