get_paintable#
- ignis.utils.Utils.get_paintable(widget: Gtk.Widget, icon_name: str, size: int) Gtk.IconPaintable | None#
Get a
Gdk.Paintableby icon name.- Parameters:
widget (
Gtk.Widget) -- The parent widget.icon_name (
str) -- The name of the icon to look up.size (
int) -- The size of the icon.
- Returns:
The paintable object for the icon or
Noneif no such icon exists.- Return type:
Gdk.Paintable | None