gtk.HRuler — a horizontal ruler.
This widget is considered too specialized or little-used for PyGTK, and will in the future be moved to some other package. If your application needs this widget, feel free to use it, as the widget does work and is useful in some applications; it's just not of general interest. However, it will eventually move out of the PyGTK distribution.
The gtk.HRuler
widget is
arranged horizontally creating a ruler that is used in conjunction with
other widgets such as a text widget. The ruler is used to show the location
of the mouse on the window and to show the size of the window in specified
units. The available units of measurement are gtk.PIXELS
(the default), gtk.INCHES
and
gtk.CENTIMETERS
. See the gtk.Ruler
description
for more information on the methods that are used to manage a gtk.HRuler
.