Gtk.Ruler Class
A base class for ruler widgets.

See Also: Ruler Members


public class Ruler : Widget


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.


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