def set_mode(self, mode):
        parent = self.parent()
        if parent is not None:
            parent.refresh_item(self)
Set the mode of the status item.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_status_item.py/QtStatusItem.set_mode