<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="EphyZoomControl">
<refmeta>
<refentrytitle role="top_of_page" id="EphyZoomControl.top_of_page">EphyZoomControl</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>EPIPHANY Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>EphyZoomControl</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="EphyZoomControl.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="EphyZoomControl-struct">EphyZoomControl</link>;
<link linkend="void">void</link>                <link linkend="ephy-zoom-control-set-zoom-level">ephy_zoom_control_set_zoom_level</link>    (<link linkend="EphyZoomControl">EphyZoomControl</link> *control,
                                                         <link linkend="float">float</link> zoom);
<link linkend="float">float</link>               <link linkend="ephy-zoom-control-get-zoom-level">ephy_zoom_control_get_zoom_level</link>    (<link linkend="EphyZoomControl">EphyZoomControl</link> *control);
</synopsis>
</refsynopsisdiv>

<refsect1 id="EphyZoomControl.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkContainer">GtkContainer</link>
                           +----<link linkend="GtkBin">GtkBin</link>
                                 +----<link linkend="GtkToolItem">GtkToolItem</link>
                                       +----EphyZoomControl
</synopsis>
</refsect1>



<refsect1 id="EphyZoomControl.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
EphyZoomControl implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkActivatable">GtkActivatable</link>.</para>
</refsect1>


<refsect1 id="EphyZoomControl.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="EphyZoomControl--zoom">zoom</link>&quot;                     <link linkend="gfloat">gfloat</link>                : Read / Write
</synopsis>
</refsect1>

<refsect1 id="EphyZoomControl.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="EphyZoomControl-zoom-to-level">zoom-to-level</link>&quot;                                  : Run Last
</synopsis>
</refsect1>


<refsect1 id="EphyZoomControl.description" role="desc">
<title role="desc.title">Description</title>

<para>
</para>
</refsect1>

<refsect1 id="EphyZoomControl.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="EphyZoomControl-struct" role="struct">
<title>EphyZoomControl</title>
<indexterm zone="EphyZoomControl-struct"><primary>EphyZoomControl</primary></indexterm>
<programlisting>typedef struct _EphyZoomControl EphyZoomControl;</programlisting>
<para>
</para></refsect2>
<refsect2 id="ephy-zoom-control-set-zoom-level" role="function">
<title>ephy_zoom_control_set_zoom_level ()</title>
<indexterm zone="ephy-zoom-control-set-zoom-level"><primary>ephy_zoom_control_set_zoom_level</primary></indexterm>
<programlisting><link linkend="void">void</link>                ephy_zoom_control_set_zoom_level    (<link linkend="EphyZoomControl">EphyZoomControl</link> *control,
                                                         <link linkend="float">float</link> zoom);</programlisting>
<para>
Sets the zoom level of <parameter>control</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>control</parameter>&#160;:</term>
<listitem><simpara> an <link linkend="EphyZoomControl"><type>EphyZoomControl</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>zoom</parameter>&#160;:</term>
<listitem><simpara> the new value for the zoom level
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-zoom-control-get-zoom-level" role="function">
<title>ephy_zoom_control_get_zoom_level ()</title>
<indexterm zone="ephy-zoom-control-get-zoom-level"><primary>ephy_zoom_control_get_zoom_level</primary></indexterm>
<programlisting><link linkend="float">float</link>               ephy_zoom_control_get_zoom_level    (<link linkend="EphyZoomControl">EphyZoomControl</link> *control);</programlisting>
<para>
Get the current zoom level of <parameter>control</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>control</parameter>&#160;:</term>
<listitem><simpara> an <link linkend="EphyZoomControl"><type>EphyZoomControl</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the zoom level as a float

</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="EphyZoomControl.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="EphyZoomControl--zoom" role="property"><title>The <literal>&quot;zoom&quot;</literal> property</title>
<indexterm zone="EphyZoomControl--zoom"><primary>EphyZoomControl:zoom</primary></indexterm>
<programlisting>  &quot;zoom&quot;                     <link linkend="gfloat">gfloat</link>                : Read / Write</programlisting>
<para></para><para>Allowed values: [0.707107,4]</para>
<para>Default value: 1</para>
</refsect2>
</refsect1>

<refsect1 id="EphyZoomControl.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="EphyZoomControl-zoom-to-level" role="signal"><title>The <literal>&quot;zoom-to-level&quot;</literal> signal</title>
<indexterm zone="EphyZoomControl-zoom-to-level"><primary>EphyZoomControl::zoom-to-level</primary></indexterm>
<programlisting><link linkend="void">void</link>                user_function                      (<link linkend="EphyZoomControl">EphyZoomControl</link> *ephyzoomcontrol,
                                                        <link linkend="gfloat">gfloat</link>           arg1,
                                                        <link linkend="gpointer">gpointer</link>         user_data)            : Run Last</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>ephyzoomcontrol</parameter>&#160;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
