paintHline
fn
void 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
style | a #GtkStyle |
cr | a #caio_t |
stateType | a state |
widget | the widget |
detail | a style detail |
x1 | the starting x coordinate |
x2 | the ending x coordinate |
y | the y coordinate |
Deprecated
Use [gtk.global.renderLine] instead