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

Example

See the Rulers example in the Example Code Appendix.