Icon#

class ignis.widgets.Widget.Icon(*args: Any, **kwargs: Any)#

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.

Properties:
  • image (str | GdkPixbuf.Pixbuf, optional, read-write): The icon name, path to the file, or a GdkPixbuf.Pixbuf.

Widget.Image(
    image='audio-volume-high',
    pixel_size=12
)