render_slider


Description:

[ CCode ( cname = "gtk_render_slider" ) ]
[ Version ( since = "3.0" ) ]
public void render_slider (Context cr, double x, double y, double width, double height, Orientation orientation)

Renders a slider (as in Scale) in the rectangle defined by x, y, width, height.

orientation defines whether the slider is vertical or horizontal.

Typical slider rendering:

![](sliders.png)

Parameters:

cr

a Context

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height

orientation

orientation of the slider

context

a StyleContext




2022 vala-language.org