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:
GtkStyleA
GtkStyle.The data is owned by the caller of the function. cr-
Type:
cairo_tA #caio_t.
The data is owned by the caller of the function. state_type-
Type:
GtkStateTypeA state.
widget-
Type:
GtkWidgetThe 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:
gintThe starting x coordinate.
x2-
Type:
gintThe ending x coordinate.
y-
Type:
gintThe y coordinate.