Function

Gtkpaint_arrow

deprecated: 3.0 

Declaration [src]

void
gtk_paint_arrow (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkShadowType shadow_type,
  GtkWidget* widget,
  const gchar* detail,
  GtkArrowType arrow_type,
  gboolean fill,
  gint x,
  gint y,
  gint width,
  gint height
)

Description [src]

Draws an arrow in the given rectangle on cr using the given parameters. arrow_type determines the direction of the arrow.

Deprecated since: 3.0

Use gtk_render_arrow() 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.

shadow_type

Type: GtkShadowType

The type of shadow to draw.

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.
arrow_type

Type: GtkArrowType

The type of arrow to draw.

fill

Type: gboolean

TRUE if the arrow tip should be filled.

x

Type: gint

X origin of the rectangle to draw the arrow in.

y

Type: gint

Y origin of the rectangle to draw the arrow in.

width

Type: gint

Width of the rectangle to draw the arrow in.

height

Type: gint

Height of the rectangle to draw the arrow in.