GtkRuler

Gamma/GTK: Using Gamma™ with GTK, Version 0.9
Prev |  | Next

# `GtkRuler`

`GtkRuler` -- a parent class for rulers.

## Synopsis

    class GtkRuler GtkWidget
    {
        lower;           // gfloat : Read / Write
        max_size;        // gfloat : Read / Write
        position;        // gfloat : Read / Write
        upper;           // gfloat : Read / Write
    }

## Parent Classes

`GtkObject`<-- `GtkWidget`<--GtkRuler

## Child Classes

`GtkHRuler` `GtkVRuler`

## Methods

`draw_pos` ()
`draw_ticks` ()
`set_metric` (`metric`)
`set_range` (`lower`, `upper`, `position`, `max_size`)

## Related Functions

`gtk_ruler_get_type` () -- replaces GTK_TYPE_RULER

Prev | Home | Next
`GtkRange` | Up | `GtkScale`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.