diff options
Diffstat (limited to 'ttystatus/widget.py')
-rw-r--r-- | ttystatus/widget.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ttystatus/widget.py b/ttystatus/widget.py index 34d0787..c498e96 100644 --- a/ttystatus/widget.py +++ b/ttystatus/widget.py @@ -32,6 +32,10 @@ class Widget(object): else: return '' + def interested_in(self, key): + '''Are we interested in this specific value?''' + return key in self.interesting_keys + def update(self, master, width): '''Update displayed value for widget, from values in master. |