Gimp.Choice.prototype.get_id

function get_id(nick: String): Number(gint) {
    // Gjs wrapper for gimp_choice_get_id()
}
  

Since 3.0

nick

the nick to lookup.

Returns

the ID of nick.