escape_uline


Description:


[ Version ( since = "2.2" ) ]
public string escape_uline (string? str)

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.

Parameters:

str

Underline infested string (or null)

Returns:

A (possibly escaped) copy of str which should be freed using g_free when it is not needed any longer.


Namespace: Gimp
Package: gimp-3.0