Gtk.HRuler Class
A horizontal ruler.

See Also: HRuler Members


public class HRuler : Ruler


A horizontal ruler is typically used to show the horizontal location of the mouse in the window and to display the horizontal size of the window in the specified units. The available units of measurement are MetricType.Pixels, MetricType.Inches and MetricType.Centimeters. The default is MetricType.Pixels.

A horizontal ruler is typically used above or below another widget such as a Gtk.DrawingArea.

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: