PROGRAM(ruler);
// The basic ruler. Used by Hruler and Vruler. 
INHERIT(widget);
COMPLEX_FUNCTION(set_metric, int);
NAME_ARGS(unit);
// Either GTK.PIXELS, GTK.Centimers or GTK.Inches
COMPLEX_FUNCTION(set_range, float,float,float,float);
NAME_ARGS(lower,upper,position,max_size);
SIMPLE_FUNCTION(draw_ticks);
// draw the ticks
SIMPLE_FUNCTION(draw_pos);
// draw the position
CLASSMEMBER(lower, float);
CLASSMEMBER(upper, float);
CLASSMEMBER(position, float);
CLASSMEMBER(max_size, float);
CLASSMEMBER(slider_size, int);
CLASSMEMBER(xsrc, int);
CLASSMEMBER(ysrc, int);
