Gimp.Choice.prototype.set_sensitive

function set_sensitive(nick: String, sensitive: Boolean): void {
    // Gjs wrapper for gimp_choice_set_sensitive()
}
  

Change the sensitivity of a possible nick. Technically a non-sensitive nick means it cannot be chosen anymore (so [method@Gimp.Choice.is_valid] will return false; nevertheless [method@Gimp.Choice.list_nicks] and other functions to get information about a choice will still function).

Since 3.0

nick

the nick to lookup.

sensitive