def __init__(self, op, letter):
"""Use the operator and letter of the child column as caption
op -- operator or None
letter -- letter of child column
remove_fn -- function to call when user wants to remove child
function takes no parameters
"""
urwid.Edit.__init__(self, layout=CALC_LAYOUT)
self.op = op
self.set_letter( letter )
评论列表
文章目录