gtkRulerSetMetric {RGtk2} | R Documentation

## 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

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]