Gimp.strip_uline
@accepts(unicode)
@returns(unicode)
def strip_uline(str):
# Python wrapper for 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).
- str
underline infested string (or None)
- Returns