GimpUi.ChainButton.prototype.set_active

function set_active(active: Boolean): void {
    // Gjs 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.

active

The new state.