Icon#
- class ignis.widgets.Widget.Icon(pixel_size: int = -1, **kwargs)#
Bases:
Gtk.Image
A widget that displays images or icons in a 1:1 ratio.
If you want to display an image at its native aspect ratio, see
Picture
.Widget.Icon( image='audio-volume-high', pixel_size=12 )
- property image: str | GdkPixbuf.Pixbuf | None#
optional, read-write
The icon name, path to the file, or a
GdkPixbuf.Pixbuf
.