1 #if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
2 #error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
5 #ifndef __GTK_CLUTTER_ZOOMABLE_H__
6 #define __GTK_CLUTTER_ZOOMABLE_H__
8 #include <glib-object.h>
13 #define GTK_CLUTTER_TYPE_ZOOMABLE (gtk_clutter_zoomable_get_type ())
14 #define GTK_CLUTTER_ZOOMABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_CLUTTER_TYPE_ZOOMABLE, GtkClutterZoomable))
15 #define GTK_CLUTTER_IS_ZOOMABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_CLUTTER_TYPE_ZOOMABLE))
16 #define GTK_CLUTTER_ZOOMABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_CLUTTER_TYPE_ZOOMABLE, GtkClutterZoomableIface))
18 typedef struct _GtkClutterZoomable GtkClutterZoomable; /* dummy typedef */
19 typedef struct _GtkClutterZoomableIface GtkClutterZoomableIface;
22 * GtkClutterZoomableIface:
23 * @set_adjustment: virtual function for setting the zoom adjustment
24 * @get_adjustment: virtual function for getting the zoom adjustment
26 * The #GtkClutterZoomableIface structure contains only private data
30 struct _GtkClutterZoomableIface
33 GTypeInterface parent_iface;
36 void (* set_adjustment) (GtkClutterZoomable *zoomable,
37 GtkAdjustment *z_adjust);
39 GtkAdjustment *(* get_adjustment) (GtkClutterZoomable *zoomable);
42 GType gtk_clutter_zoomable_get_type (void) G_GNUC_CONST;
44 void gtk_clutter_zoomable_set_adjustment (GtkClutterZoomable *zoomable,
45 GtkAdjustment *z_adjust);
46 GtkAdjustment *gtk_clutter_zoomable_get_adjustment (GtkClutterZoomable *zoomable);
50 #endif /* __GTK_CLUTTER_ZOOMABLE_H__ */