paintHline

fnvoid paintHline(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, gtk.widget.Widget widget, string detail, int x1, int x2, int y)

Draws a horizontal line from (x1, y) to (x2, y) in cr using the given style and state.

Parameters

stylea #GtkStyle
cra #caio_t
stateTypea state
widgetthe widget
detaila style detail
x1the starting x coordinate
x2the ending x coordinate
ythe y coordinate

Deprecated

Use [gtk.global.renderLine] instead