Function

Gtk-4.0Gtkrender_frameDeprecated 4.10

  • Renders a frame around the rectangle defined by x, y, width, height.

    Examples of frame rendering, showing the effect of border-image, border-color, border-width, border-radius and junctions:

    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