Function

Gtkpaint_expander

deprecated: 3.0 

Declaration [src]

void
gtk_paint_expander (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkWidget* widget,
  const gchar* detail,
  gint x,
  gint y,
  GtkExpanderStyle expander_style
)

Description [src]

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.

Deprecated since: 3.0

Use gtk_render_expander() instead.

Parameters

style

Type: GtkStyle

A GtkStyle.

The data is owned by the caller of the function.
cr

Type: cairo_t

A #cairo_t.

The data is owned by the caller of the function.
state_type

Type: GtkStateType

A state.

widget

Type: GtkWidget

The widget.

The argument can be NULL.
The data is owned by the caller of the function.
detail

Type: const gchar*

A style detail.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
x

Type: gint

The x position to draw the expander at.

y

Type: gint

The y position to draw the expander at.

expander_style

Type: GtkExpanderStyle

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