GimpUi.IntRadioFrame.prototype.set_sensitivity

function set_sensitivity(func: GimpUi.IntRadioFrameSensitivityFunc): void {
    // Gjs wrapper for gimp_int_radio_frame_set_sensitivity()
}
  

Sets a function that is used to decide about the sensitivity of radio buttons in the radio_frame. Use this if you want to set certain radio buttons insensitive.

Calling gtk_widget_queue_draw() on the radio_frame will cause the sensitivity to be updated.

Since 3.0

func

a function that returns a boolean value, or null to unset