SymbolicPaintable


Object Hierarchy:

Gtk.SymbolicPaintable Gtk.SymbolicPaintable Gtk.SymbolicPaintable GLib.Object GLib.Object GLib.Object->Gtk.SymbolicPaintable Gdk.Paintable Gdk.Paintable Gdk.Paintable->Gtk.SymbolicPaintable

Description:

[ CCode ( type_cname = "GtkSymbolicPaintableInterface" , type_id = "gtk_symbolic_paintable_get_type ()" ) ]
[ Version ( since = "4.6" ) ]
public interface SymbolicPaintable : Object, Paintable

`GtkSymbolicPaintable` is an interface that support symbolic colors in paintables.

`GdkPaintable`s implementing the interface will have the [vfunc@Gtk.SymbolicPaintable.snapshot_symbolic] function called and have the colors for drawing symbolic icons passed. At least 4 colors are guaranteed to be passed every time.

These 4 colors are the foreground color, and the colors to use for errors, warnings and success information in that order.

More colors may be added in the future.

All known implementing classes:

Namespace: Gtk
Package: gtk4

Content:

Methods:

Inherited Members: