Style.paintExpander

Warning gtk_paint_expander has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_expander() instead Draws an expander as used in GtkTreeView. 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.

class Style
deprecated
void
paintExpander

Parameters

cr Context

a cairo_t

stateType GtkStateType

a state

widget Widget

the widget. [allow-none]

detail string

a style detail. [allow-none]

x int

the x position to draw the expander at

y int

the y position to draw the expander at

expanderStyle GtkExpanderStyle

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

Meta