Returns

gimp_filename_to_utf8 ()

Convert a filename in the filesystem's encoding to UTF-8
temporarily. The return value is a pointer to a string that is
guaranteed to be valid only during the current iteration of the
main loop or until the next call to gimp_filename_to_utf8().

The only purpose of this function is to provide an easy way to pass
a filename in the filesystem encoding to a function that expects an
UTF-8 encoded filename.

Parameters

filename

The filename to be converted to UTF-8.

Returns

A temporarily valid UTF-8 representation of filename
.
This string must not be changed or freed.

Returns

gimp_escape_uline ()

This function returns a copy of str
with all underline converted
to two adjacent underlines. This comes in handy when needing to display
strings with underlines (like filenames) in a place that would convert
them to mnemonics.

Returns

gimp_strip_uline ()

This function returns a copy of str
stripped of underline
characters. This comes in handy when needing to strip mnemonics
from menu paths etc.

In some languages, mnemonics are handled by adding the mnemonic
character in brackets (like "File (_F)"). This function recognizes
this construct and removes the whole bracket construction to get
rid of the mnemonic (see bug 157561).

gimp_enum_get_value ()

Checks if value
is valid for the enum registered as enum_type
.
If the value exists in that enum, its name, nick and its translated
description and help are returned (if value_name
, value_nick
,
value_desc
and value_help
are not NULL).

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