## GtkClutterScrollable

GtkClutterScrollable — Interface for scrollable actors

## Synopsis

                        GtkClutterScrollable;
                        GtkClutterScrollableIface;
    void                gtk_clutter_scrollable_set_adjustments
                                                            (GtkClutterScrollable *scrollable,
                                                             GtkAdjustment *h_adjust,
                                                             GtkAdjustment *v_adjust);
    void                gtk_clutter_scrollable_get_adjustments
                                                            (GtkClutterScrollable *scrollable,
                                                             GtkAdjustment **h_adjust,
                                                             GtkAdjustment **v_adjust);

## Object Hierarchy

      GInterface
       +----GtkClutterScrollable

## Known Implementations

GtkClutterScrollable is implemented by GtkClutterViewport.

## Properties

      "hadjustment"              GtkAdjustment*        : Read / Write / Construct
      "vadjustment"              GtkAdjustment*        : Read / Write / Construct

## Description

GtkClutterScrollable is an interface for scrollable actors, reusing the GtkAdjustment objects from GTK+ do drive the scrolling.

GtkClutterScrollable is available since Clutter-GTK 0.10

## Details

### GtkClutterScrollable

    typedef struct _GtkClutterScrollable GtkClutterScrollable;

### GtkClutterScrollableIface

    typedef struct {
      void (* set_adjustments) (GtkClutterScrollable  *scrollable,
                                GtkAdjustment         *h_adjust,
                                GtkAdjustment         *v_adjust);
      void (* get_adjustments) (GtkClutterScrollable  *scrollable,
                                GtkAdjustment        **h_adjust,
                                GtkAdjustment        **v_adjust);
    } GtkClutterScrollableIface;

The GtkClutterScrollableIface structure contains only private data and should be accessed using the provided functions.

`set_adjustments` () | virtual function for setting the horizontal and vertical adjustments of a GtkClutterScrollable
`get_adjustments` () | virtual function for retrieving the horizontal and vertical adjustments of a GtkClutterScrollable

Since 0.10

### gtk_clutter_scrollable_set_adjustments ()

    void                gtk_clutter_scrollable_set_adjustments
                                                            (GtkClutterScrollable *scrollable,
                                                             GtkAdjustment *h_adjust,
                                                             GtkAdjustment *v_adjust);

Sets the horizontal and vertical adjustments used to determine the position of the scrollable actor.

`scrollable` : | a GtkClutterScrollable
`h_adjust` : | a GtkAdjustment, or `NULL`. [allow-none]
`v_adjust` : | a GtkAdjustment, or `NULL`. [allow-none]

Since 0.10

### gtk_clutter_scrollable_get_adjustments ()

    void                gtk_clutter_scrollable_get_adjustments
                                                            (GtkClutterScrollable *scrollable,
                                                             GtkAdjustment **h_adjust,
                                                             GtkAdjustment **v_adjust);

Retrieves the horizontal and vertical adjustments used to determine the position of the scrollable actor.

`scrollable` : | a GtkClutterScrollable
`h_adjust` : | return location for a GtkAdjustment, or `NULL`. [out]
`v_adjust` : | return location for a GtkAdjustment, or `NULL`. [out]

Since 0.10

## Property Details

### The `"hadjustment"` property

      "hadjustment"              GtkAdjustment*        : Read / Write / Construct

The GtkAdjustment that determines the value of the horizontal position for this scrollable actor.

Since 0.10

### The `"vadjustment"` property

      "vadjustment"              GtkAdjustment*        : Read / Write / Construct

The GtkAdjustment that determines the value of the vertical position for this scrollable actor.

Since 0.10