render_slider


Description:

[ Version ( deprecated_since = "vala-0.16" , deprecated = true , replacement = "StyleContext.render_slider" ) ]
public void render_slider (StyleContext context, Context cr, double x, double y, double width, double height, Orientation orientation)

Warning: render_slider is deprecated since "vala-0.16". Use Gtk.StyleContext.render_slider.

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:

context

a StyleContext

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


Namespace: Gtk
Package: gtk+-3.0