Function

Gtk-4.0Gtkrender_expanderDeprecated 4.10

  • Renders an expander (as used in Gtk.TreeView and Gtk.Expander) in the area defined by x, y, width, height. The state Gtk.StateFlags.CHECKED determines whether the expander is collapsed or expanded.

    Typical expander 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