Gtk.Ruler Class
A base class for ruler widgets.

See Also: Ruler Members

Syntax

public class Ruler : Widget

Remarks

The Ruler widget is a base class for horizontal and vertical rulers. Rulers are used to show the mouse pointer's location in a window. Within the ruler a small triangle indicates the location of the mouse relative to the horizontal or vertical ruler. Concrete classes are Gtk.HRuler and Gtk.VRuler for horizontal and vertical rulers, respectively.

With this class, you can adjust the unit type and the range of values that a ruler displays.

Note:- This widget is considered too specialized for GTK+, and will likely be moved to some other package in the future.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0