GtkWidget* gtk_image_new_from_resource ( const char* resource_path )
Creates a new
GtkImage displaying the resource file
If the file isn’t found or can’t be loaded, the resulting
display a “broken image” icon. This function never returns
it always returns a valid
If you need to detect failures to load the file, use
gdk_pixbuf_new_from_file() to load the file yourself,
then create the
GtkImage from the pixbuf.
The storage type (see
the returned image is not defined, it will be whatever is
appropriate for displaying the file.
A resource path.
|The data is owned by the caller of the function.|
|The string is a NUL terminated UTF-8 string.|
|The data is owned by the called function.|