bumblebee-status/tests/util.py
Tobi-wan Kenobi 712d958e18 [core/output] Add widget drawing
Add basic drawing of widgets. Each module instance returns a list of
widgets using the widgets() method which is then forwarded to the draw()
method of the configured output.

see #23
2016-12-04 12:53:18 +01:00

10 lines
215 B
Python

# pylint: disable=C0103,C0111
class MockWidget(object):
def __init__(self, text):
self._text = text
def text(self):
return self._text
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4