Skip to content

Add a changeable text widget #2

Description

@mtvcp

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions