Icon#
- class ignis.widgets.Icon(pixel_size: int = -1, **kwargs)#
Bases:
Gtk.ImageA 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.- Parameters:
**kwargs -- Properties to set.
widgets.Icon( image='audio-volume-high', pixel_size=12 )
- gproperty image: str | GdkPixbuf.Pixbuf | None#
read-write
The icon name, path to the file, or a
GdkPixbuf.Pixbuf.