Style.paintHline

Warning gtk_paint_hline has been deprecated since version 3.0 and should not be used in newly-written code. Use gtk_render_line() instead Draws a horizontal line from (x1, y) to (x2, y) in cr using the given style and state.

class Style
deprecated
void
paintHline

Parameters

cr Context

a caio_t

stateType GtkStateType

a state

widget Widget

the widget. [allow-none]

detail string

a style detail. [allow-none]

x1 int

the starting x coordinate

x2 int

the ending x coordinate

y int

the y coordinate

Meta