Package: gtk

Function gtk-render-check

Lambda List

gtk-render-check (context cr x y width height)

Arguments

context -- a gtk-style-context object
cr -- a cairo-t context
x -- a number, coerced to a double float, with the x origin of the rectangle
y -- a number, coerced to a double float, with the y origin of the rectangle
width -- a number, coerced to a double float, with a rectangle width
height -- a number, coerced to a double float, with a rectangle height

Details

Renders a checkmark as in a gtk-check-button widget.

The :active state of the gtk-state-flags flags determines whether the check is on or off, and the :inconsistent state determines whether it should be marked as undefined.
 

See also

2021-11-26