gtk.HRuler

gtk.HRuler — a horizontal ruler.

Synopsis

class gtk.HRuler(gtk.Ruler):
    gtk.HRuler()

Ancestry

+-- gobject.GObject
  +-- gtk.Object
    +-- gtk.Widget
      +-- gtk.Ruler
        +-- gtk.HRuler

gtk.HRuler Properties

gtk.Object Properties

gtk.Widget Properties

gtk.Ruler Properties

gtk.HRuler Style Properties

gtk.Widget Style Properties

gtk.HRuler Signal Prototypes

gobject.GObject Signal Prototypes

gtk.Object Signal Prototypes

gtk.Widget Signal Prototypes

Description

Note

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.

Constructor

    gtk.HRuler()
Returns :a new hruler widget

Creates a new gtk.HRuler widget.