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

# GtkViewport

## Name

GtkViewport --

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkViewport;
    GtkWidget*  gtk_viewport_new                (GtkAdjustment *hadjustment,
                                                 GtkAdjustment *vadjustment);
    GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport);
    GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport);
    void        gtk_viewport_set_hadjustment    (GtkViewport *viewport,
                                                 GtkAdjustment *adjustment);
    void        gtk_viewport_set_vadjustment    (GtkViewport *viewport,
                                                 GtkAdjustment *adjustment);
    void        gtk_viewport_set_shadow_type    (GtkViewport *viewport,
                                                 GtkShadowType type);

## Object Hierarchy

      GtkObject
       +----GtkWidget
             +----GtkContainer
                   +----GtkBin
                         +----GtkViewport

## Args

      "hadjustment"          GtkAdjustment        : Read / Write / Construct
      "vadjustment"          GtkAdjustment        : Read / Write / Construct
      "shadow_type"          GtkShadowType        : Read / Write

## Description

## Details

### struct GtkViewport

    struct GtkViewport;

### gtk_viewport_new ()

    GtkWidget*  gtk_viewport_new                (GtkAdjustment *hadjustment,
                                                 GtkAdjustment *vadjustment);

`hadjustment` : |
`vadjustment` : |
Returns : |

### gtk_viewport_get_hadjustment ()

    GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport *viewport);

`viewport` : |
Returns : |

### gtk_viewport_get_vadjustment ()

    GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport *viewport);

`viewport` : |
Returns : |

### gtk_viewport_set_hadjustment ()

    void        gtk_viewport_set_hadjustment    (GtkViewport *viewport,
                                                 GtkAdjustment *adjustment);

`viewport` : |
`adjustment` : |

### gtk_viewport_set_vadjustment ()

    void        gtk_viewport_set_vadjustment    (GtkViewport *viewport,
                                                 GtkAdjustment *adjustment);

`viewport` : |
`adjustment` : |

### gtk_viewport_set_shadow_type ()

    void        gtk_viewport_set_shadow_type    (GtkViewport *viewport,
                                                 GtkShadowType type);

`viewport` : |
`type` : |

## Args

"`hadjustment`" (GtkAdjustment : Read / Write / Construct)

"`vadjustment`" (GtkAdjustment : Read / Write / Construct)

"`shadow_type`" (GtkShadowType : Read / Write)

<<< Previous Page | Home | Up | Next Page >>>
GtkVBox | GtkVPaned