| Epiphany Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
EphyZoomControlEphyZoomControl — A GtkToolItem implementing a zoom control |
EphyZoomControl; void ephy_zoom_control_set_zoom_level (EphyZoomControl *control,float zoom); float ephy_zoom_control_get_zoom_level (EphyZoomControl *control);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkToolItem +----EphyZoomControl
EphyZoomControl implements AtkImplementorIface, GtkBuildable and GtkActivatable.
void ephy_zoom_control_set_zoom_level (EphyZoomControl *control,float zoom);
Sets the zoom level of control.
|
an EphyZoomControl |
|
the new value for the zoom level |
float ephy_zoom_control_get_zoom_level (EphyZoomControl *control);
Get the current zoom level of control.
|
an EphyZoomControl |
Returns : |
the zoom level as a float |
"zoom" property"zoom" gfloat : Read / Write
The current value of EphyZoomControl, as a float.
Allowed values: [0.707107,4]
Default value: 1
"zoom-to-level" signalvoid user_function (EphyZoomControl *control, gfloat level, gpointer user_data) : Run Last
Emitted when the user changes the value of the EphyZoomControl.
|
the object on which the signal is emitted |
|
new zoom level |
|
user data set when the signal handler was connected. |