Pike v8.0 release 1738

Class GTK1.Hruler

Inheritance graph
Description

Ruler widgets are used to indicate the location of the mouse pointer in a given window. A window can have a vertical ruler spanning across the width and a horizontal ruler spanning down the height. A small triangular indicator on the ruler shows the exact location of the pointer relative to the ruler.

 GTK1.Hruler()->set_metric(GTK1.PIXELS)->set_range(0.0,100.0,50.0,100.0)->draw_ticks()->draw_pos()->set_usize(300,30)

 GTK1.Hruler()->set_metric(GTK1.CENTIMETERS)->set_range(0.0,100.0,50.0,100.0)->draw_ticks()->draw_pos()->set_usize(300,30)

 GTK1.Hruler()->set_usize(300,30)


Inherit Ruler

inherit GTK1.Ruler : Ruler


Method create

GTK1.Hruler GTK1.Hruler()

Description

Used to create a new hruler widget.