gtkImageNewFromFile
gtkImageNewFromFile(filename, show = TRUE)
|
a filename |
If the file contains an animation, the image will contain an animation.
If you need to detect failures to load the file, use
gdkPixbufNewFromFile
to load the file yourself, then create
the GtkImage
from the pixbuf. (Or for animations, use
gdkPixbufAnimationNewFromFile
).
The storage type (gtkImageGetStorageType
) of the returned
image is not defined, it will be whatever is appropriate for
displaying the file.
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.