Package: gtk

Function gtk:icon-paintable-new-for-file

Lambda List

gtk:icon-paintable-new-for-file (file size scale)

Arguments

file -- a g-file object
size -- an integer with the desired icon size
scale -- an integer with he desired scale

Return Value

The gtk:icon-paintable object containing the icon.

Details

Creates a gtk:icon-paintable object for a file with a given size and scale. The icon can then be rendered by using it as a gdk:paintable object.
 

See also

2024-10-9