

def set_text(self, text, sh_guard=True):
    " Sets the widget's text with the provided value.\n\n        "
    if sh_guard:
        with size_hint_guard(self):
            self.widget.setText(text)
    else:
        sh_guard.widget.setText(text)

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_abstract_button.py QtAbstractButton.set_text/VarMisuse@46/83 `self`->`sh_guard`