Function

Gtk-3.0Gtkpaint_expanderDeprecated 3.0

  • Draws an expander as used in Gtk.TreeView. x and y specify the center the expander. The size of the expander is determined by the “expander-size” style property of widget. (If widget is not specified or doesn’t have an “expander-size” property, an unspecified default size will be used, since the caller doesn't have sufficient information to position the expander, this is likely not useful.) The expander is expander_size pixels tall in the collapsed position and expander_size pixels wide in the expanded position.

    Parameters

    • Deprecatedstyle: Gtk.Style
    • Deprecatedcr: default.Context
    • Deprecatedstate_type: Gtk.StateType

      a state

    • Deprecatedwidget: Gtk.Widget

      the widget

    • Deprecateddetail: string

      a style detail

    • Deprecatedx: number

      the x position to draw the expander at

    • Deprecatedy: number

      the y position to draw the expander at

    • Deprecatedexpander_style: Gtk.ExpanderStyle

      the style to draw the expander in; determines whether the expander is collapsed, expanded, or in an intermediate state.

    Returns void

    since 3.0: Use gtk_render_expander() instead