Function

Gtkpaint_hline

deprecated: 3.0 

Declaration [src]

void
gtk_paint_hline (
  GtkStyle* style,
  cairo_t* cr,
  GtkStateType state_type,
  GtkWidget* widget,
  const gchar* detail,
  gint x1,
  gint x2,
  gint y
)

Description [src]

Draws a horizontal line from (x1, y) to (x2, y) 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 #caio_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.
x1

Type: gint

The starting x coordinate.

x2

Type: gint

The ending x coordinate.

y

Type: gint

The y coordinate.