IconPaintable.this

Creates a GtkIconPaintable for a file with a given size and scale.

The icon can then be rendered by using it as a GdkPaintable.

  1. this(GtkIconPaintable* gtkIconPaintable, bool ownedRef)
  2. this(FileIF file, int size, int scale)
    class IconPaintable
    this
    (,
    int size
    ,
    int scale
    )

Parameters

file FileIF

a GFile

size int

desired icon size

scale int

the desired scale

Return Value

a GtkIconPaintable containing for the icon. Unref with g_object_unref()

Throws

ConstructionException GTK+ fails to create the object.

Meta