Function
Gimputf8_strtrim
Declaration [src]
gchar*
gimp_utf8_strtrim (
const gchar* str,
gint max_chars
)
Description [src]
Creates a (possibly trimmed) copy of str
. The string is cut if it
exceeds max_chars
characters or on the first newline. The fact
that the string was trimmed is indicated by appending an ellipsis.