## GtkClutterZoomable

GtkClutterZoomable — Interface for zoomable actors

## Synopsis

                        GtkClutterZoomable;
                        GtkClutterZoomableIface;
    void                gtk_clutter_zoomable_set_adjustment (GtkClutterZoomable *zoomable,
                                                             GtkAdjustment *z_adjust);
    GtkAdjustment *     gtk_clutter_zoomable_get_adjustment (GtkClutterZoomable *zoomable);

## Object Hierarchy

      GInterface
       +----GtkClutterZoomable

## Known Implementations

GtkClutterZoomable is implemented by GtkClutterViewport.

## Description

GtkClutterZoomable is an interface for zoomable actors, using, like GtkClutterScrollable, the GtkAdjustment objects from GTK+ to drive the zoom factor.

GtkClutterZoomable is available since Clutter-GTK 1.0

## Details

### GtkClutterZoomable

    typedef struct _GtkClutterZoomable GtkClutterZoomable;

### GtkClutterZoomableIface

    typedef struct {
      void           (* set_adjustment) (GtkClutterZoomable *zoomable,
                                         GtkAdjustment      *z_adjust);

      GtkAdjustment *(* get_adjustment) (GtkClutterZoomable *zoomable);
    } GtkClutterZoomableIface;

The GtkClutterZoomableIface structure contains only private data

`set_adjustment` () | virtual function for setting the zoom adjustment
`get_adjustment` () | virtual function for getting the zoom adjustment

Since 1.0

### gtk_clutter_zoomable_set_adjustment ()

    void                gtk_clutter_zoomable_set_adjustment (GtkClutterZoomable *zoomable,
                                                             GtkAdjustment *z_adjust);

Sets the adjustment used to determine the zoom factor of the zoomable actor

`zoomable` : | a GtkClutterZoomable
`z_adjust` : | a GtkAdjustment, or `NULL`. [allow-none]

Since 0.10

### gtk_clutter_zoomable_get_adjustment ()

    GtkAdjustment *     gtk_clutter_zoomable_get_adjustment (GtkClutterZoomable *zoomable);

Retrieves the adjustment used to determine the zoom factor of the zoomable actor

`zoomable` : | a GtkClutterZoomable
Returns : | a GtkAdjustment. [transfer none]

Since 0.10