iconNewForString

fun iconNewForString(str: String): <Error class: unknown class><Icon>

Generate a #GIcon instance from @str. This function can fail if

Return

An object implementing the #GIcon interface or null if @error is set.

Since

2.20

Parameters

str

A string obtained via g_icon_to_string().