renderSlider

fnvoid renderSlider(gtk.style_context.StyleContext context, cairo.context.Context cr, double x, double y, double width, double height, gtk.types.Orientation orientation)

Renders a slider (as in #GtkScale) in the rectangle defined by x, y, width, height. orientation defines whether the slider is vertical or horizontal.

Typical slider rendering:

![](sliders.png)

Parameters

contexta #GtkStyleContext
cra #cairo_t
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height
orientationorientation of the slider