Function

Gtkpaint_vline

deprecated: 3.0 

Declaration [src]

void
gtk_paint_vline (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkWidget* widget,
  const gchar* detail,
  gint y1_,
  gint y2_,
  gint x
)

Description [src]

Draws a vertical line from (x, y1_) to (x, y2_) in cr using the given style and state.

Deprecated since: 3.0

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

Type: gint

The starting y coordinate.

y2_

Type: gint

The ending y coordinate.

x

Type: gint

The x coordinate.