Function

Gtk-4.0Gtkrender_backgroundDeprecated 4.10

  • Renders the background of an element.

    Typical background rendering, showing the effect of background-image, border-width and border-radius:

    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