def button(self, t, fn): w = urwid.Button(t, fn) w = urwid.AttrWrap(w, 'button normal', 'button select') return w