module Gtk::SymbolicPaintable
Overview
Gtk::SymbolicPaintable
is an interface that support symbolic colors in
paintables.
Gdk::Paintable
s implementing the interface will have the
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.
Direct including types
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/symbolic_paintable.crClass Method Summary
Instance Method Summary
- #snapshot_symbolic(snapshot : Gdk::Snapshot, width : Float64, height : Float64, colors : Enumerable(Gdk::RGBA)) : Nil
- #to_unsafe
Class Method Detail
Instance Method Detail
def snapshot_symbolic(snapshot : Gdk::Snapshot, width : Float64, height : Float64, colors : Enumerable(Gdk::RGBA)) : Nil
#