gtk-0.12.5.2: Binding to the Gtk+ graphical user interface library.

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Safe HaskellNone

Graphics.UI.Gtk.Special.HRuler

Contents

Description

A horizontal ruler

  • Rulers are removed in Gtk3 and thus this module is blank. There is no replacement

Synopsis

Detail

The HRuler widget is a widget arranged horizontally creating a ruler that is utilized around 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 Pixels, Inches and Centimeters. Pixels is the default. rulers.

Class Hierarchy

 | GObject
 | +----Object
 | +----Widget
 | +----Ruler
 | +----HRuler

Types

Constructors

hRulerNew :: IO HRulerSource

Creates a new horizontal ruler.