A progress icon is a progress indicator in the form of an icon.

class, pixel_size, stroke_color, fill_color, direction='vertical')

Bases: gi.repository.Gtk.DrawingArea

Display the progress filling the icon. This class is compatible with the class. Call update(progress) with the new progress to update the icon. The direction defaults to ‘vertical’, in which case the icon is filled from bottom to top. If direction is set to ‘horizontal’, it will be filled from right to left or from left to right, depending on the system’s language RTL setting. :param pixel_size: sets the icon size

[e.g. pixel_size=style.LARGE_ICON_SIZE]

  • icon_name (string) – Name of icon [e.g. icon_name=’test_icon’]

  • stroke_color (string) – Stroke color means border color.

  • fill_color (string) – The main (inside) color of progressicon [e.g. fill_color=style.COLOR_BLUE.get_svg()


Calculate the minimum and natural height of the progressicon.


Calculate the minimum and natural width of the progressicon.


Updates progressicon with progress’s value. Example: update(0.9)