Learn R Programming

RGtk2 (version 2.20.31)

gtkRulerSetMetric: gtkRulerSetMetric

Description

This calls the GTKMetricType to set the ruler to units defined. Available units are GTK_PIXELS, GTK_INCHES, or GTK_CENTIMETERS. The default unit of measurement is GTK_PIXELS.

Usage

gtkRulerSetMetric(object, metric)

Arguments

object
the gtkruler
metric
the unit of measurement