renderSlider

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:

Parameters

context gtk.style_context.StyleContext

a #GtkStyleContext

cr cairo.context.Context

a #cairo_t

x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height

orientation gtk.types.Orientation

orientation of the slider