Package: gtk

Function gtk:symbolic-paintable-snapshot-symbolic

Lambda List

gtk:symbolic-paintable-snapshot-symbolic (paintable snapshot width height colors)

Arguments

paintable -- a gtk:symbolic-paintable object
snapshot -- a gdk:snapshot object to snapshot to
width -- an integer for the width to snapshot in
height -- an integer for the height to snapshot in
colors -- a list of gdk:rgba colors

Details

Snapshots the paintable with the given colors. If less than 4 colors are provided, GTK will pad the array with default colors.

Since 4.6
 

See also

#2026-01-31