gtk.icon_paintable
Module for [IconPaintable] class
Types 3
classIconPaintable : gobject.object.ObjectWrap, gdk.paintable.Paintable, gtk.symbolic_paintable.SymbolicPaintable
Contains information found when looking up an icon in gtk.icon_theme.IconTheme.
gtk.icon_paintable.IconPaintable implements gdk.paintable.Paintable.
Methods
IconPaintableGidBuilder builder() static nothrowGet builder for [gtk.icon_paintable.IconPaintable] Returns: New builder objectgio.file.File file() @property nothrowGet `file` property. Returns: The file representing the icon, if any.string iconName() @property nothrowGet `iconName` property. Returns: The icon name that was chosen during lookup.gtk.icon_paintable.IconPaintable newForFile(gio.file.File file, int size, int scale) static nothrowCreates a [gtk.icon_paintable.IconPaintable] for a file with a given size and scale.classIconPaintableGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gdk.paintable.PaintableGidBuilderImpl!T, gtk.symbolic_paintable.SymbolicPaintableGidBuilderImpl!T
Fluent builder implementation template for gtk.icon_paintable.IconPaintable
Methods
T file(gio.file.File propval) nothrowSet `file` property. Params: propval = The file representing the icon, if any. Returns: Builder instance for fluent chainingT iconName(string propval) nothrowSet `iconName` property. Params: propval = The icon name that was chosen during lookup. Returns: Builder instance for fluent chainingFluent builder for gtk.icon_paintable.IconPaintable
Methods