Documentation
Dlang.org
Image.setFromFile
gtk
image
Image
Sets a
gtk.image.Image
to show a file.
See
gtk.image.Image.newFromFile
for details.
class
Image
void
setFromFile
(
string
filename
= null
)
Parameters
filename
string
a filename
gtk
image
Image
constructors
this
functions
clear
getGicon
getIconName
getIconSize
getPaintable
getPixelSize
getStorageType
self
setFromFile
setFromGicon
setFromIconName
setFromPaintable
setFromPixbuf
setFromResource
setIconSize
setPixelSize
properties
file
gType
gicon
iconName
iconSize
paintable
pixelSize
resource
storageType
useFallback
static functions
getGType
newFromFile
newFromGicon
newFromIconName
newFromPaintable
newFromPixbuf
newFromResource
Sets a gtk.image.Image to show a file.
See gtk.image.Image.newFromFile for details.