GIcon instance from str. This function can fail if
str is not valid - see gIconToString for discussion.gIconNewForString(str, .errwarn = TRUE)strgIconToString.GIcon
implementations you need to ensure that each GType is registered
with the type system prior to calling gIconNewForString.
Since 2.20