GObject.flags_get_value_by_nick

function flags_get_value_by_nick(flags_class: GObject.FlagsClass, nick: String): GObject.FlagsValue {
    // Gjs wrapper for g_flags_get_value_by_nick()
}
  

Looks up a GObject.FlagsValue by nickname.

flags_class

a GObject.FlagsClass

nick

the nickname to look up

Returns

the GObject.FlagsValue with nickname nick, or null if there is no flag with that nickname