TypeScript API Documentation for GTK
API Version: 3.0
Library Version: 3.24.51
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 3.0
Renders a checkmark (as in a Gtk.CheckButton).
The Gtk.StateFlags.CHECKED state determines whether the check is on or off, and Gtk.StateFlags.INCONSISTENT determines whether it should be marked as undefined.
Typical checkmark rendering:
a Gtk.StyleContext
a cairo.Context
X origin of the rectangle
Y origin of the rectangle
rectangle width
rectangle height
3.0
Renders a checkmark (as in a Gtk.CheckButton).
The Gtk.StateFlags.CHECKED state determines whether the check is on or off, and Gtk.StateFlags.INCONSISTENT determines whether it should be marked as undefined.
Typical checkmark rendering: