python-progressbar icon indicating copy to clipboard operation
python-progressbar copied to clipboard

Add a changeable text widget

Open mtvcp opened this issue 7 years ago • 0 comments

I would like to have a widget with simple text that can be changed. Something like:

class TextWidget(Widget):
    __slots__ = ('text')
    def __init__(self, text=''):
        self.text=text
    def change(self, text):
        self.text=text
    def update(self, pbar):
        return self.text

mtvcp avatar Mar 16 '18 15:03 mtvcp