flags_get_first_value


Description:


[ Version ( since = "2.2" ) ]
public bool flags_get_first_value (Type flags_type, uint value, out string value_name, out string value_nick, out string value_desc, out string value_help)

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).

Parameters:

flags_type

the Type of registered flags

value

an integer value

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

Returns:

true if value is valid for the flags_type, false otherwise


Namespace: Gimp
Package: gimp-3.0