paint_hline
Description:
[ Version ( deprecated = true , deprecated_since = "3.0" ) ]
public void paint_hline (Style style, Context cr, StateType state_type, Widget? widget, string? detail, int x1, int x2, int y)
Warning: paint_hline is deprecated since 3.0.
Draws a horizontal line from (x1
, y
) to (x2
, y
) in cr
using the given style
and state.
Note:
Use render_line instead
Parameters:
style |
a Style |
cr |
a |
state_type |
a state |
widget |
the widget |
detail |
a style detail |
x1 |
the starting x coordinate |
x2 |
the ending x coordinate |
y |
the y coordinate |
Namespace: Gtk
Package: gtk+-3.0