GtkRuler::set_metric

void set_metric(GtkMetricType metric);

Sets the unit to use (pixels, inches, ...)

See also: get_metric()