![]() |
![]() |
![]() |
Clutter-Gtk 0.10.8 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations |
GtkClutterZoomable; GtkClutterZoomableIface; void gtk_clutter_zoomable_set_adjustment (GtkClutterZoomable *zoomable
,GtkAdjustment *z_adjust
); GtkAdjustment * gtk_clutter_zoomable_get_adjustment (GtkClutterZoomable *zoomable
);
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
typedef struct { void (* set_adjustment) (GtkClutterZoomable *zoomable, GtkAdjustment *z_adjust); GtkAdjustment *(* get_adjustment) (GtkClutterZoomable *zoomable); } GtkClutterZoomableIface;
The GtkClutterZoomableIface structure contains only private data
virtual function for setting the zoom adjustment | |
virtual function for getting the zoom adjustment |
Since 1.0
void gtk_clutter_zoomable_set_adjustment (GtkClutterZoomable *zoomable
,GtkAdjustment *z_adjust
);
Sets the adjustment used to determine the zoom factor of the zoomable actor
|
a GtkClutterZoomable |
|
a GtkAdjustment, or NULL . [allow-none]
|
Since 0.10
GtkAdjustment * gtk_clutter_zoomable_get_adjustment (GtkClutterZoomable *zoomable
);
Retrieves the adjustment used to determine the zoom factor of the zoomable actor
|
a GtkClutterZoomable |
Returns : |
a GtkAdjustment. [transfer none] |
Since 0.10