(self, state)
Mark the widget (GUI) as containing modified state.
Mark the widget (GUI) as containing modified state.
Mark the widget ( GUI ) as containing modified state .
def _set_modified(self, state):
        """
        Mark the widget (GUI) as containing modified state.
        """
        if self.data is None:
            # does not apply when we have no data
            state = False
        elif self.auto_commit:
            # does not apply when auto commit is on
            state = False
        self.Information.modified(shown=state)
def _set_modified ( self , state ) : if self . data is None : # does not apply when we have no data state = False elif self . auto_commit : # does not apply when auto commit is on state = False self . Information . modified ( shown = state )