Function

Gtkpaint_hline

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 GtkStyle
 

A GtkStyle.

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

A #caio_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.
x1 gint
 

The starting x coordinate.

x2 gint
 

The ending x coordinate.

y gint
 

The y coordinate.