GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkRange

## Name

GtkRange --

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkRange;
    GtkAdjustment* gtk_range_get_adjustment     (GtkRange *range);
    void        gtk_range_set_update_policy     (GtkRange *range,
                                                 GtkUpdateType policy);
    void        gtk_range_set_adjustment        (GtkRange *range,
                                                 GtkAdjustment *adjustment);
    void        gtk_range_draw_background       (GtkRange *range);
    void        gtk_range_draw_trough           (GtkRange *range);
    void        gtk_range_draw_slider           (GtkRange *range);
    void        gtk_range_draw_step_forw        (GtkRange *range);
    void        gtk_range_draw_step_back        (GtkRange *range);
    void        gtk_range_slider_update         (GtkRange *range);
    gint        gtk_range_trough_click          (GtkRange *range,
                                                 gint x,
                                                 gint y,
                                                 gfloat *jump_perc);
    void        gtk_range_default_hslider_update
                                                (GtkRange *range);
    void        gtk_range_default_vslider_update
                                                (GtkRange *range);
    gint        gtk_range_default_htrough_click (GtkRange *range,
                                                 gint x,
                                                 gint y,
                                                 gfloat *jump_perc);
    gint        gtk_range_default_vtrough_click (GtkRange *range,
                                                 gint x,
                                                 gint y,
                                                 gfloat *jump_perc);
    void        gtk_range_default_hmotion       (GtkRange *range,
                                                 gint xdelta,
                                                 gint ydelta);
    void        gtk_range_default_vmotion       (GtkRange *range,
                                                 gint xdelta,
                                                 gint ydelta);
    void        gtk_range_clear_background      (GtkRange *range);

## Object Hierarchy

      GtkObject
       +----GtkWidget
             +----GtkRange

## Properties

      "update-policy"        GtkUpdateType        : Read / Write

## Description

## Details

### struct GtkRange

    struct GtkRange;

### gtk_range_get_adjustment ()

    GtkAdjustment* gtk_range_get_adjustment     (GtkRange *range);

`range` : |
Returns : |

### gtk_range_set_update_policy ()

    void        gtk_range_set_update_policy     (GtkRange *range,
                                                 GtkUpdateType policy);

`range` : |
`policy` : |

### gtk_range_set_adjustment ()

    void        gtk_range_set_adjustment        (GtkRange *range,
                                                 GtkAdjustment *adjustment);

`range` : |
`adjustment` : |

### gtk_range_draw_background ()

    void        gtk_range_draw_background       (GtkRange *range);

`range` : |

### gtk_range_draw_trough ()

    void        gtk_range_draw_trough           (GtkRange *range);

`range` : |

### gtk_range_draw_slider ()

    void        gtk_range_draw_slider           (GtkRange *range);

`range` : |

### gtk_range_draw_step_forw ()

    void        gtk_range_draw_step_forw        (GtkRange *range);

`range` : |

### gtk_range_draw_step_back ()

    void        gtk_range_draw_step_back        (GtkRange *range);

`range` : |

### gtk_range_slider_update ()

    void        gtk_range_slider_update         (GtkRange *range);

`range` : |

### gtk_range_trough_click ()

    gint        gtk_range_trough_click          (GtkRange *range,
                                                 gint x,
                                                 gint y,
                                                 gfloat *jump_perc);

`range` : |
`x` : |
`y` : |
`jump_perc` : |
Returns : |

### gtk_range_default_hslider_update ()

    void        gtk_range_default_hslider_update
                                                (GtkRange *range);

`range` : |

### gtk_range_default_vslider_update ()

    void        gtk_range_default_vslider_update
                                                (GtkRange *range);

`range` : |

### gtk_range_default_htrough_click ()

    gint        gtk_range_default_htrough_click (GtkRange *range,
                                                 gint x,
                                                 gint y,
                                                 gfloat *jump_perc);

`range` : |
`x` : |
`y` : |
`jump_perc` : |
Returns : |

### gtk_range_default_vtrough_click ()

    gint        gtk_range_default_vtrough_click (GtkRange *range,
                                                 gint x,
                                                 gint y,
                                                 gfloat *jump_perc);

`range` : |
`x` : |
`y` : |
`jump_perc` : |
Returns : |

### gtk_range_default_hmotion ()

    void        gtk_range_default_hmotion       (GtkRange *range,
                                                 gint xdelta,
                                                 gint ydelta);

`range` : |
`xdelta` : |
`ydelta` : |

### gtk_range_default_vmotion ()

    void        gtk_range_default_vmotion       (GtkRange *range,
                                                 gint xdelta,
                                                 gint ydelta);

`range` : |
`xdelta` : |
`ydelta` : |

### gtk_range_clear_background ()

    void        gtk_range_clear_background      (GtkRange *range);

`range` : |

## Properties

"`update-policy`" (GtkUpdateType : Read / Write)

<<< Previous Page | Home | Up | Next Page >>>
GtkRadioMenuItem | GtkRuler