_gtkImageNewFile

Create a widget displaying an image from a file.

Crée un widget image depuis un fichier image.

Type :

fun [Chn P] ObjGtk

_channel_ : Chn : any channel.

_filename_ : P : image file (read only reference). If the image is animated, the animation will be displayed. All supported formats by GTK+ can be used.

Return : ObjGtk : the new widget or nil if error.

Back