def set_text(self, text, sh_guard=True):
        if sh_guard:
            with size_hint_guard(self):
                self.widget.setText(text)
        else:
            self.widget.setText(text)
Sets the widget's text with the provided value.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_abstract_button.py/QtAbstractButton.set_text