Package: gtk

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

Lambda List

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

Arguments

path -- a pathname or namestring for the file
size -- an integer for the desired icon size
scale -- an integer for the 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

2025-09-22