def set_state (self, state): """B.set_state (...) -> None Sets the state of the Button. Sets the state of the Button and causes its child to set its state to the same value. """ Bin.set_state (self, state) if self.child: self.child.state = self.state
def set_state (self, state): """S.set_state (...) -> None Sets the state of the ScrolledWindow. Sets the state of the ScrolledWindow. The state of the ScrolledWindow is mainly used for the visible or non-visible appearance of the ScrolledWindow, so that the user can determine the state of the ScrolledWindow easier. Usually this method should not be invoked by user code. """ Bin.set_state (self, state) if state in (STATE_NORMAL, STATE_INSENSITIVE): self.vscrollbar.set_state (state) self.hscrollbar.set_state (state)