<!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>goocanvasmm: Goocanvas::Text 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.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</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="classes.html"><span>Class Index</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="el" href="namespaceGoocanvas.html">Goocanvas</a>::<a class="el" href="classGoocanvas_1_1Text.html">Text</a> </div> </div> <div class="contents"> <h1>Goocanvas::Text Class Reference</h1><!-- doxytag: class="Goocanvas::Text" --><!-- doxytag: inherits="Goocanvas::ItemSimple" --><div class="dynheader"> Inheritance diagram for Goocanvas::Text:</div> <div class="dynsection"> <div class="center"><img src="classGoocanvas_1_1Text__inherit__graph.png" border="0" usemap="#Goocanvas_1_1Text_inherit__map" alt="Inheritance graph"/></div> <map name="Goocanvas_1_1Text_inherit__map" id="Goocanvas_1_1Text_inherit__map"> <area shape="rect" href="classGoocanvas_1_1ItemSimple.html" title="Goocanvas::ItemSimple" alt="" coords="35,315,195,344"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,237,96,267"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="44,83,164,112"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="117,160,221,189"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="51,5,157,35"/><area shape="rect" href="classGoocanvas_1_1Item.html" title="Goocanvas::Item" alt="" coords="120,237,240,267"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGoocanvas_1_1Text-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="classGoocanvas_1_1Text.html#afcf014186fa2aa98b7bfcb2c50bee949">~Text</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GooCanvasText* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#aa76819f1ec0627019597617357be48a5">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aa76819f1ec0627019597617357be48a5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const GooCanvasText* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a15e96496dd6036c5975413af6bbff931">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a15e96496dd6036c5975413af6bbff931"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GooCanvasText* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a85753996c6256b30af527e796cf86284">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="#a85753996c6256b30af527e796cf86284"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a3ce1d552959eeb172e9e678f836e9035">get_natural_extents</a> (<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Rectangle.html">Pango::Rectangle</a>& ink_rect, <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Rectangle.html">Pango::Rectangle</a>& logical_rect) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the natural extents of the text, in the text item's coordinate space. <a href="#a3ce1d552959eeb172e9e678f836e9035"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Pango::Alignment</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a533677a069fd1cde1c50b98cbd63c244">property_alignment</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">How to align the text. <a href="#a533677a069fd1cde1c50b98cbd63c244"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Pango::Alignment</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#ac3af8f81c09017f1e29dcbda6fb4bb29">property_alignment</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">How to align the text. <a href="#ac3af8f81c09017f1e29dcbda6fb4bb29"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#aaecb7ace6c7e46a8c85582ba511180a1">property_anchor</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">How to position the text relative to the given x and y coordinates. <a href="#aaecb7ace6c7e46a8c85582ba511180a1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a0401115db2419bcf3d2f32267c0ec2e2">property_anchor</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">How to position the text relative to the given x and y coordinates. <a href="#a0401115db2419bcf3d2f32267c0ec2e2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a0a1673753bc79ef549bc993717ee5e3d">property_ellipsize</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The preferred place to ellipsize the string, if the label does not have enough room to display the entire string. <a href="#a0a1673753bc79ef549bc993717ee5e3d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a75fd2da10a773c2fec2b3d7d604d60a2">property_ellipsize</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The preferred place to ellipsize the string, if the label does not have enough room to display the entire string. <a href="#a75fd2da10a773c2fec2b3d7d604d60a2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a53f4a01acb1cca39106d60ed45aaf8ae">property_text</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The text to display. <a href="#a53f4a01acb1cca39106d60ed45aaf8ae"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a4f7f4aa74046dcc5d969fcaa7f395064">property_text</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The text to display. <a href="#a4f7f4aa74046dcc5d969fcaa7f395064"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a8d3233bf0a9e4ea544677a912317584f">property_use_markup</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether to parse PangoMarkup in the text, to support different styles. <a href="#a8d3233bf0a9e4ea544677a912317584f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#ac7d70dc75f6144d43dada3f58bd8fa23">property_use_markup</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Whether to parse PangoMarkup in the text, to support different styles. <a href="#ac7d70dc75f6144d43dada3f58bd8fa23"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">Pango::WrapMode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a85f584c11a0ba8c85fe1753a8dd57af9">property_wrap</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The preferred method of wrapping the string if a width has been set. <a href="#a85f584c11a0ba8c85fe1753a8dd57af9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">Pango::WrapMode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a8895990f4537627e79594ac97f5f4bea">property_wrap</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The preferred method of wrapping the string if a width has been set. <a href="#a8895990f4537627e79594ac97f5f4bea"></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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGoocanvas_1_1Text.html">Text</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a1458472cbacbc9686853559ccc1ed69f">create</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>(), double x=0.0, double y=0.0, double width=0.0, <a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a> anchor=<a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#ggafbd70af3f26738e6a3796e206e754a42ab6b17e68fa3f5f6e40449203068614e2">Gtk::ANCHOR_NORTH_WEST</a>)</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="classGoocanvas_1_1Text.html#af1712aba3dc1d097d377f56306659bfb">Text</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>(), double x=0.0, double y=0.0, double width=-1, <a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a> anchor=<a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#ggafbd70af3f26738e6a3796e206e754a42ab6b17e68fa3f5f6e40449203068614e2">Gtk::ANCHOR_NORTH_WEST</a>)</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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGoocanvas_1_1Text.html">Goocanvas::Text</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGoocanvas_1_1Text.html#a14abe2503b9008bd14bdf9a2740dfdc0">wrap</a> (GooCanvasText* object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a14abe2503b9008bd14bdf9a2740dfdc0"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="afcf014186fa2aa98b7bfcb2c50bee949"></a><!-- doxytag: member="Goocanvas::Text::~Text" ref="afcf014186fa2aa98b7bfcb2c50bee949" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Goocanvas::Text::~Text </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="af1712aba3dc1d097d377f56306659bfb"></a><!-- doxytag: member="Goocanvas::Text::Text" ref="af1712aba3dc1d097d377f56306659bfb" args="(const Glib::ustring &text=Glib::ustring(), double x=0.0, double y=0.0, double width=-1, Gtk::AnchorType anchor=Gtk::ANCHOR_NORTH_WEST)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Goocanvas::Text::Text </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>text</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>width</em> = <code>-1</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a> </td> <td class="paramname"> <em>anchor</em> = <code><a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#ggafbd70af3f26738e6a3796e206e754a42ab6b17e68fa3f5f6e40449203068614e2">Gtk::ANCHOR_NORTH_WEST</a></code></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="a1458472cbacbc9686853559ccc1ed69f"></a><!-- doxytag: member="Goocanvas::Text::create" ref="a1458472cbacbc9686853559ccc1ed69f" args="(const Glib::ustring &text=Glib::ustring(), double x=0.0, double y=0.0, double width=0.0, Gtk::AnchorType anchor=Gtk::ANCHOR_NORTH_WEST)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGoocanvas_1_1Text.html">Text</a>> Goocanvas::Text::create </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>text</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>x</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>y</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>width</em> = <code>0.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a> </td> <td class="paramname"> <em>anchor</em> = <code><a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#ggafbd70af3f26738e6a3796e206e754a42ab6b17e68fa3f5f6e40449203068614e2">Gtk::ANCHOR_NORTH_WEST</a></code></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="a3ce1d552959eeb172e9e678f836e9035"></a><!-- doxytag: member="Goocanvas::Text::get_natural_extents" ref="a3ce1d552959eeb172e9e678f836e9035" args="(Pango::Rectangle &ink_rect, Pango::Rectangle &logical_rect) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Goocanvas::Text::get_natural_extents </td> <td>(</td> <td class="paramtype"><a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Rectangle.html">Pango::Rectangle</a> & </td> <td class="paramname"> <em>ink_rect</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Rectangle.html">Pango::Rectangle</a> & </td> <td class="paramname"> <em>logical_rect</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets the natural extents of the text, in the text item's coordinate space. </p> <p>The final extents of the text may be different, if the text item is placed in a layout container such as Goo::CanvasTable. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>ink_rect</em> </td><td>The location to return the ink rect, or <code>0</code>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>logical_rect</em> </td><td>The location to return the logical rect, or <code>0</code>. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a15e96496dd6036c5975413af6bbff931"></a><!-- doxytag: member="Goocanvas::Text::gobj" ref="a15e96496dd6036c5975413af6bbff931" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GooCanvasText* Goocanvas::Text::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="el" href="classGoocanvas_1_1ItemSimple.html#a657e0d7bb524625fe54c7d62642609c9">Goocanvas::ItemSimple</a>.</p> </div> </div> <a class="anchor" id="aa76819f1ec0627019597617357be48a5"></a><!-- doxytag: member="Goocanvas::Text::gobj" ref="aa76819f1ec0627019597617357be48a5" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GooCanvasText* Goocanvas::Text::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="el" href="classGoocanvas_1_1ItemSimple.html#a20d3490397b4082050a20e721fcfeec6">Goocanvas::ItemSimple</a>.</p> </div> </div> <a class="anchor" id="a85753996c6256b30af527e796cf86284"></a><!-- doxytag: member="Goocanvas::Text::gobj_copy" ref="a85753996c6256b30af527e796cf86284" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GooCanvasText* Goocanvas::Text::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="el" href="classGoocanvas_1_1ItemSimple.html#a9d79350e5a5ac08dff1bf49b6260e0fd">Goocanvas::ItemSimple</a>.</p> </div> </div> <a class="anchor" id="ac3af8f81c09017f1e29dcbda6fb4bb29"></a><!-- doxytag: member="Goocanvas::Text::property_alignment" ref="ac3af8f81c09017f1e29dcbda6fb4bb29" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Pango::Alignment</a>> Goocanvas::Text::property_alignment </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>How to align the text. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a533677a069fd1cde1c50b98cbd63c244"></a><!-- doxytag: member="Goocanvas::Text::property_alignment" ref="a533677a069fd1cde1c50b98cbd63c244" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gaf6b8926663368e305380e01f8858caca">Pango::Alignment</a>> Goocanvas::Text::property_alignment </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>How to align the text. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a0401115db2419bcf3d2f32267c0ec2e2"></a><!-- doxytag: member="Goocanvas::Text::property_anchor" ref="a0401115db2419bcf3d2f32267c0ec2e2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a>> Goocanvas::Text::property_anchor </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>How to position the text relative to the given x and y coordinates. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="aaecb7ace6c7e46a8c85582ba511180a1"></a><!-- doxytag: member="Goocanvas::Text::property_anchor" ref="aaecb7ace6c7e46a8c85582ba511180a1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="gtkmm-2.4.tag:http://library.gnome.org/devel/gtkmm/unstable/" href="http://library.gnome.org/devel/gtkmm/unstable/group__gtkmmEnums.html#gafbd70af3f26738e6a3796e206e754a42">Gtk::AnchorType</a>> Goocanvas::Text::property_anchor </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>How to position the text relative to the given x and y coordinates. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a75fd2da10a773c2fec2b3d7d604d60a2"></a><!-- doxytag: member="Goocanvas::Text::property_ellipsize" ref="a75fd2da10a773c2fec2b3d7d604d60a2" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a>> Goocanvas::Text::property_ellipsize </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The preferred place to ellipsize the string, if the label does not have enough room to display the entire string. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a0a1673753bc79ef549bc993717ee5e3d"></a><!-- doxytag: member="Goocanvas::Text::property_ellipsize" ref="a0a1673753bc79ef549bc993717ee5e3d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#ga982cbecf0c4ee56766aab816a7f5ed0b">Pango::EllipsizeMode</a>> Goocanvas::Text::property_ellipsize </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The preferred place to ellipsize the string, if the label does not have enough room to display the entire string. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a4f7f4aa74046dcc5d969fcaa7f395064"></a><!-- doxytag: member="Goocanvas::Text::property_text" ref="a4f7f4aa74046dcc5d969fcaa7f395064" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>> Goocanvas::Text::property_text </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The text to display. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a53f4a01acb1cca39106d60ed45aaf8ae"></a><!-- doxytag: member="Goocanvas::Text::property_text" ref="a53f4a01acb1cca39106d60ed45aaf8ae" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>> Goocanvas::Text::property_text </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The text to display. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="ac7d70dc75f6144d43dada3f58bd8fa23"></a><!-- doxytag: member="Goocanvas::Text::property_use_markup" ref="ac7d70dc75f6144d43dada3f58bd8fa23" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Goocanvas::Text::property_use_markup </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Whether to parse PangoMarkup in the text, to support different styles. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a8d3233bf0a9e4ea544677a912317584f"></a><!-- doxytag: member="Goocanvas::Text::property_use_markup" ref="a8d3233bf0a9e4ea544677a912317584f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Goocanvas::Text::property_use_markup </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Whether to parse PangoMarkup in the text, to support different styles. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a8895990f4537627e79594ac97f5f4bea"></a><!-- doxytag: member="Goocanvas::Text::property_wrap" ref="a8895990f4537627e79594ac97f5f4bea" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">Pango::WrapMode</a>> Goocanvas::Text::property_wrap </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The preferred method of wrapping the string if a width has been set. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a85f584c11a0ba8c85fe1753a8dd57af9"></a><!-- doxytag: member="Goocanvas::Text::property_wrap" ref="a85f584c11a0ba8c85fe1753a8dd57af9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/group__pangommEnums.html#gad57530f0324d4fd9e8a2fcec904ab240">Pango::WrapMode</a>> Goocanvas::Text::property_wrap </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The preferred method of wrapping the string if a width has been set. </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a14abe2503b9008bd14bdf9a2740dfdc0"></a><!-- doxytag: member="Goocanvas::Text::wrap" ref="a14abe2503b9008bd14bdf9a2740dfdc0" args="(GooCanvasText *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGoocanvas_1_1Text.html">Goocanvas::Text</a> > wrap </td> <td>(</td> <td class="paramtype">GooCanvasText * </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" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/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>goocanvasmm/text.h</li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Oct 18 14:10:54 2010 for goocanvasmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>