Function

Gtkpaint_vline

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 GtkStyle
 

A GtkStyle.

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

A #cairo_t.

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

A state.

widget GtkWidget
 

The widget.

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

A style detail.

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

The starting y coordinate.

y2_ gint
 

The ending y coordinate.

x gint
 

The x coordinate.