Gimp.flags_get_first_value
function flags_get_first_value(flags_type: GObject.Type, value: Number(guint)): [ok: Boolean, value_name: String, value_nick: String, value_desc: String, value_help: String] {
// Gjs wrapper for gimp_flags_get_first_value()
}
Checks if value is valid for the flags registered as flags_type. If the value exists in that flags, its name, nick and its translated description and help are returned (if value_name, value_nick, value_desc and value_help are not null).
Since 2.2
- flags_type
the GLib.Type of registered flags
- value
an integer value
- ok
true if value is valid for the flags_type, false otherwise
- value_name
return location for the value's name, or null
- value_nick
return location for the value's nick, or null
- value_desc
return location for the value's translated description, or null
- value_help
return location for the value's translated help, or null