Forum und email

GtkRuler::set_metric

void set_metric(GtkMetricType metric);

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

Виж също: get_metric()