Function

Gtk-4.0Gtkrender_optionDeprecated 4.10

  • Renders an option mark (as in a radio button), the Gtk.StateFlags.CHECKED state will determine whether the option is on or off, and Gtk.StateFlags.INCONSISTENT whether it should be marked as undefined.

    Typical option mark rendering:

    Parameters

    • Deprecatedcontext: Gtk.StyleContext
    • Deprecatedcr: default.Context

      a cairo_t

    • Deprecatedx: number

      X origin of the rectangle

    • Deprecatedy: number

      Y origin of the rectangle

    • Deprecatedwidth: number

      rectangle width

    • Deprecatedheight: number

      rectangle height

    Returns void

    since 4.10