GimpUi.ChainButton.set_active

@accepts(GimpUi.ChainButton, bool)
@returns(none)
def set_active(self, active):
    # Python wrapper for gimp_chain_button_set_active()
  

Sets the state of the GimpUi.ChainButton to be either locked (True) or unlocked (False) and changes the showed pixmap to reflect the new state.

self

Pointer to a GimpUi.ChainButton.

active

The new state.