<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>clutter-gtkmm: Clutter::Gtk::Viewport Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="elRef" href="../../../cluttermm-1.0/reference/html/namespaceClutter.html">Clutter</a>::<a class="el" href="namespaceClutter_1_1Gtk.html">Gtk</a>::<a class="el" href="classClutter_1_1Gtk_1_1Viewport.html">Viewport</a> </div> </div> <div class="contents"> <h1>Clutter::Gtk::Viewport Class Reference</h1><!-- doxytag: class="Clutter::Gtk::Viewport" --><!-- doxytag: inherits="Clutter::Actor" --> <p>Inherits <a class="elRef" href="../../../cluttermm-1.0/reference/html/classClutter_1_1Actor.html">Clutter::Actor</a>.</p> <div class="dynheader"> Collaboration diagram for Clutter::Gtk::Viewport:</div> <div class="dynsection"> <div class="center"><img src="classClutter_1_1Gtk_1_1Viewport__coll__graph.png" border="0" usemap="#Clutter_1_1Gtk_1_1Viewport_coll__map" alt="Collaboration graph"/></div> <map name="Clutter_1_1Gtk_1_1Viewport_coll__map" id="Clutter_1_1Gtk_1_1Viewport_coll__map"> <area shape="rect" href="../../../cluttermm-1.0/reference/html/classClutter_1_1Actor.html" title="Clutter::Actor" alt="" coords="67,315,165,344"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,237,96,267"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="45,83,165,112"/><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="120,160,224,189"/><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="52,5,159,35"/><area shape="rect" href="../../../cluttermm-1.0/reference/html/classClutter_1_1Scriptable.html" title="Clutter::Scriptable" alt="" coords="120,237,245,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classClutter_1_1Gtk_1_1Viewport-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a3f13d7c04e910646eb1a17badfbe5c20">~Viewport</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkClutterViewport* </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a08cc6329fe37eaa28dee32d8f786b890">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a08cc6329fe37eaa28dee32d8f786b890"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GtkClutterViewport* </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a351393ae405ff36fc623d19cc5b2433c">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a351393ae405ff36fc623d19cc5b2433c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkClutterViewport* </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a594fb594b3b34ce74998e7d77d9e32fa">gobj_copy</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a594fb594b3b34ce74998e7d77d9e32fa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a75ea0b12b793d648493b297931980be4">get_origin</a> (float& x, float& y, float& z)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the current translation factor ("origin") used when displaying the child of <em>viewport</em>. <a href="#a75ea0b12b793d648493b297931980be4"></a><br/></td></tr> <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classClutter_1_1Gtk_1_1Viewport.html">Viewport</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#af3be1a2618b944ce2ef3262c8d3fd25f">create</a> (::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a>& h_adjustment,::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a>& v_adjustment)</td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a5c3ceef675fc288c9b6206168023f913">Viewport</a> (::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a>& h_adjustment,::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a>& v_adjustment)</td></tr> <tr><td colspan="2"><h2>Related Functions</h2></td></tr> <tr><td colspan="2"><p>(Note that these are not member functions.) </p> <br/><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classClutter_1_1Gtk_1_1Viewport.html">Clutter::Gtk::Viewport</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classClutter_1_1Gtk_1_1Viewport.html#a517c9e21e93e6b6cbcfce4ae291688d8">wrap</a> (GtkClutterViewport* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a517c9e21e93e6b6cbcfce4ae291688d8"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a3f13d7c04e910646eb1a17badfbe5c20"></a><!-- doxytag: member="Clutter::Gtk::Viewport::~Viewport" ref="a3f13d7c04e910646eb1a17badfbe5c20" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Clutter::Gtk::Viewport::~Viewport </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a5c3ceef675fc288c9b6206168023f913"></a><!-- doxytag: member="Clutter::Gtk::Viewport::Viewport" ref="a5c3ceef675fc288c9b6206168023f913" args="(::Gtk::Adjustment &h_adjustment,::Gtk::Adjustment &v_adjustment)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Clutter::Gtk::Viewport::Viewport </td> <td>(</td> <td class="paramtype">::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a> & </td> <td class="paramname"> <em>h_adjustment</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a> & </td> <td class="paramname"> <em>v_adjustment</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [explicit, protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="af3be1a2618b944ce2ef3262c8d3fd25f"></a><!-- doxytag: member="Clutter::Gtk::Viewport::create" ref="af3be1a2618b944ce2ef3262c8d3fd25f" args="(::Gtk::Adjustment &h_adjustment,::Gtk::Adjustment &v_adjustment)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classClutter_1_1Gtk_1_1Viewport.html">Viewport</a>> Clutter::Gtk::Viewport::create </td> <td>(</td> <td class="paramtype">::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a> & </td> <td class="paramname"> <em>h_adjustment</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">::<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1Adjustment.html">Gtk::Adjustment</a> & </td> <td class="paramname"> <em>v_adjustment</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a75ea0b12b793d648493b297931980be4"></a><!-- doxytag: member="Clutter::Gtk::Viewport::get_origin" ref="a75ea0b12b793d648493b297931980be4" args="(float &x, float &y, float &z)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Clutter::Gtk::Viewport::get_origin </td> <td>(</td> <td class="paramtype">float & </td> <td class="paramname"> <em>x</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float & </td> <td class="paramname"> <em>y</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float & </td> <td class="paramname"> <em>z</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the current translation factor ("origin") used when displaying the child of <em>viewport</em>. </p> <dl class="since_1_0"><dt><b><a class="el" href="since_1_0.html#_since_1_0000001">Since clutter-gtkmm 1.0:</a></b></dt><dd></dd></dl> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>Return location for the X origin in pixels, or <code>0</code>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Return location for the Y origin in pixels, or <code>0</code>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>z</em> </td><td>Return location for the Z origin in pixels, or <code>0</code>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a351393ae405ff36fc623d19cc5b2433c"></a><!-- doxytag: member="Clutter::Gtk::Viewport::gobj" ref="a351393ae405ff36fc623d19cc5b2433c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GtkClutterViewport* Clutter::Gtk::Viewport::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../cluttermm-1.0/reference/html/classClutter_1_1Actor.html#a4e97b8d3b4d586392b96e3a094ab81d7">Clutter::Actor</a>.</p> </div> </div> <a class="anchor" id="a08cc6329fe37eaa28dee32d8f786b890"></a><!-- doxytag: member="Clutter::Gtk::Viewport::gobj" ref="a08cc6329fe37eaa28dee32d8f786b890" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkClutterViewport* Clutter::Gtk::Viewport::gobj </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C GObject. </p> <p>Reimplemented from <a class="elRef" href="../../../cluttermm-1.0/reference/html/classClutter_1_1Actor.html#add08539e0cacf1abc65705b53123186f">Clutter::Actor</a>.</p> </div> </div> <a class="anchor" id="a594fb594b3b34ce74998e7d77d9e32fa"></a><!-- doxytag: member="Clutter::Gtk::Viewport::gobj_copy" ref="a594fb594b3b34ce74998e7d77d9e32fa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkClutterViewport* Clutter::Gtk::Viewport::gobj_copy </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> <p>Reimplemented from <a class="elRef" href="../../../cluttermm-1.0/reference/html/classClutter_1_1Actor.html#a66c35d498df0f88dfec80b0d910ae47b">Clutter::Actor</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a517c9e21e93e6b6cbcfce4ae291688d8"></a><!-- doxytag: member="Clutter::Gtk::Viewport::wrap" ref="a517c9e21e93e6b6cbcfce4ae291688d8" args="(GtkClutterViewport *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classClutter_1_1Gtk_1_1Viewport.html">Clutter::Gtk::Viewport</a> > wrap </td> <td>(</td> <td class="paramtype">GtkClutterViewport * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>clutter-gtkmm/viewport.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Fri Jan 8 09:02:49 2010 for clutter-gtkmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>