<!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>gtksourceviewmm: gtksourceview::SourceCompletionContext 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.2-20100208 --> <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="modules.html"><span>Modules</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"><b>gtksourceview</b>::<a class="el" href="classgtksourceview_1_1SourceCompletionContext.html">SourceCompletionContext</a> </div> </div> <div class="contents"> <h1>gtksourceview::SourceCompletionContext Class Reference</h1><!-- doxytag: class="gtksourceview::SourceCompletionContext" --><!-- doxytag: inherits="Glib::Object" --> <p><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html" title="SourceCompletionContext.">SourceCompletionContext</a>. <a href="#_details">More...</a></p> <p><code>#include <gtksourceviewmm/sourcecompletioncontext.h></code></p> <div class="dynheader"> Inheritance diagram for gtksourceview::SourceCompletionContext:</div> <div class="dynsection"> <div class="center"><img src="classgtksourceview_1_1SourceCompletionContext__inherit__graph.png" border="0" usemap="#gtksourceview_1_1SourceCompletionContext_inherit__map" alt="Inheritance graph"/></div> <map name="gtksourceview_1_1SourceCompletionContext_inherit__map" id="gtksourceview_1_1SourceCompletionContext_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="109,160,211,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="92,83,228,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="100,5,220,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classgtksourceview_1_1SourceCompletionContext-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"><a class="anchor" id="af6a7e32bdcbb36fda0e602df09a66379"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::gobj" ref="af6a7e32bdcbb36fda0e602df09a66379" args="()" --> GtkSourceCompletionContext* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#af6a7e32bdcbb36fda0e602df09a66379">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8439c615275488b7a57d8d0b8680d7d"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::gobj" ref="ae8439c615275488b7a57d8d0b8680d7d" args="() const " --> const GtkSourceCompletionContext* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#ae8439c615275488b7a57d8d0b8680d7d">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32ed5c51f97ee62f273aab68c15dc5d3"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::gobj_copy" ref="a32ed5c51f97ee62f273aab68c15dc5d3" args="()" --> GtkSourceCompletionContext* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a32ed5c51f97ee62f273aab68c15dc5d3">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. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a753d69743a01c16953093fde556ffe2b">add_proposals</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classgtksourceview_1_1SourceCompletionProvider.html">SourceCompletionProvider</a> >& provider, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classgtksourceview_1_1SourceCompletionProposal.html">SourceCompletionProposal</a> > >& proposals, bool finished)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Providers can use this function to add proposals to the completion. <a href="#a753d69743a01c16953093fde556ffe2b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgtksourceview_1_1SourceIter.html">SourceIter</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a9a9ddc1d3b4c867905594a5325d87e77">get_iter</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the iter at which the completion was invoked. <a href="#a9a9ddc1d3b4c867905594a5325d87e77"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtksourceviewmmEnums.html#gaa467791958fa7b5403491f7c3b863de3">SourceCompletionActivation</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#ae14f3dd62be53012a64c7fbc9794ab82">get_activation</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the context activation. <a href="#ae14f3dd62be53012a64c7fbc9794ab82"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="el" href="group__gtksourceviewmmEnums.html#gaa467791958fa7b5403491f7c3b863de3">SourceCompletionActivation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#ac1e658ad8049352fed016fc11def12b1">property_activation</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The type of activation. <a href="#ac1e658ad8049352fed016fc11def12b1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="el" href="group__gtksourceviewmmEnums.html#gaa467791958fa7b5403491f7c3b863de3">SourceCompletionActivation</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a05f222a979e06017d6f223081d2b9182">property_activation</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The type of activation. <a href="#a05f222a979e06017d6f223081d2b9182"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="el" href="classgtksourceview_1_1SourceCompletion.html">SourceCompletion</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a8da1bb42140319ef86ec7dc2c0ea3e34">property_completion</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The completion object to which the context belongs. <a href="#a8da1bb42140319ef86ec7dc2c0ea3e34"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< <a class="el" href="classgtksourceview_1_1SourceIter.html">SourceIter</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a3a1ab91919148801b8b45c791c0175df">property_iter</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkTextIter at which the completion was invoked. <a href="#a3a1ab91919148801b8b45c791c0175df"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < <a class="el" href="classgtksourceview_1_1SourceIter.html">SourceIter</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#afec4f51fa0a279a3ad095b52f52c832a">property_iter</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The GtkTextIter at which the completion was invoked. <a href="#afec4f51fa0a279a3ad095b52f52c832a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a14b5158c133505c0052fdfcf97f168f6">signal_cancelled</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Emitted when the current population of proposals has been cancelled. <a href="#a14b5158c133505c0052fdfcf97f168f6"></a><br/></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="classgtksourceview_1_1SourceCompletionContext.html">gtksourceview::SourceCompletionContext</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html#a43a6d53498880ee262280f1f9123a451">wrap</a> (GtkSourceCompletionContext* 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="#a43a6d53498880ee262280f1f9123a451"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classgtksourceview_1_1SourceCompletionContext.html" title="SourceCompletionContext.">SourceCompletionContext</a>. </p> <dl class="since_2_10"><dt><b><a class="el" href="since__2__10.html#_since_2_10000033">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a753d69743a01c16953093fde556ffe2b"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::add_proposals" ref="a753d69743a01c16953093fde556ffe2b" args="(const Glib::RefPtr< SourceCompletionProvider > &provider, const Glib::ListHandle< Glib::RefPtr< SourceCompletionProposal > > &proposals, bool finished)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gtksourceview::SourceCompletionContext::add_proposals </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classgtksourceview_1_1SourceCompletionProvider.html">SourceCompletionProvider</a> >& </td> <td class="paramname"> <em>provider</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>< <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classgtksourceview_1_1SourceCompletionProposal.html">SourceCompletionProposal</a> > >& </td> <td class="paramname"> <em>proposals</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>finished</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Providers can use this function to add proposals to the completion. </p> <p>They can do so asynchronously by means of the <em>finished</em> argument. Providers must ensure that they always call this function with <em>finished</em> set to <code>true</code> once each population (even if no proposals need to be added).</p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>provider</em> </td><td>A <a class="el" href="classgtksourceview_1_1SourceCompletionProvider.html" title="Completion provider interface.">SourceCompletionProvider</a>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>proposals</em> </td><td>The list of proposals to add. </td></tr> <tr><td valign="top"></td><td valign="top"><em>finished</em> </td><td>Whether the provider is finished adding proposals.</td></tr> </table> </dd> </dl> <dl class="since_2_10"><dt><b><a class="el" href="since__2__10.html#_since_2_10000034">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="ae14f3dd62be53012a64c7fbc9794ab82"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::get_activation" ref="ae14f3dd62be53012a64c7fbc9794ab82" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gtksourceviewmmEnums.html#gaa467791958fa7b5403491f7c3b863de3">SourceCompletionActivation</a> gtksourceview::SourceCompletionContext::get_activation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get the context activation. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The context activation.</dd></dl> <dl class="since_2_10"><dt><b><a class="el" href="since__2__10.html#_since_2_10000036">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a9a9ddc1d3b4c867905594a5325d87e77"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::get_iter" ref="a9a9ddc1d3b4c867905594a5325d87e77" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgtksourceview_1_1SourceIter.html">SourceIter</a> gtksourceview::SourceCompletionContext::get_iter </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get the iter at which the completion was invoked. </p> <p>Providers can use this to determine how and if to match proposals.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1TextIter.html">Gtk::TextIter</a>.</dd></dl> <dl class="since_2_10"><dt><b><a class="el" href="since__2__10.html#_since_2_10000035">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a05f222a979e06017d6f223081d2b9182"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::property_activation" ref="a05f222a979e06017d6f223081d2b9182" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="group__gtksourceviewmmEnums.html#gaa467791958fa7b5403491f7c3b863de3">SourceCompletionActivation</a>> gtksourceview::SourceCompletionContext::property_activation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The type of activation. </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="ac1e658ad8049352fed016fc11def12b1"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::property_activation" ref="ac1e658ad8049352fed016fc11def12b1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="group__gtksourceviewmmEnums.html#gaa467791958fa7b5403491f7c3b863de3">SourceCompletionActivation</a>> gtksourceview::SourceCompletionContext::property_activation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The type of activation. </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="a8da1bb42140319ef86ec7dc2c0ea3e34"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::property_completion" ref="a8da1bb42140319ef86ec7dc2c0ea3e34" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="classgtksourceview_1_1SourceCompletion.html">SourceCompletion</a>*> gtksourceview::SourceCompletionContext::property_completion </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The completion object to which the context belongs. </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="afec4f51fa0a279a3ad095b52f52c832a"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::property_iter" ref="afec4f51fa0a279a3ad095b52f52c832a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="classgtksourceview_1_1SourceIter.html">SourceIter</a>> gtksourceview::SourceCompletionContext::property_iter </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The GtkTextIter at which the completion was invoked. </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="a3a1ab91919148801b8b45c791c0175df"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::property_iter" ref="a3a1ab91919148801b8b45c791c0175df" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classgtksourceview_1_1SourceIter.html">SourceIter</a>> gtksourceview::SourceCompletionContext::property_iter </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>The GtkTextIter at which the completion was invoked. </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="a14b5158c133505c0052fdfcf97f168f6"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::signal_cancelled" ref="a14b5158c133505c0052fdfcf97f168f6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > gtksourceview::SourceCompletionContext::signal_cancelled </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when the current population of proposals has been cancelled. </p> <p>Providers adding proposals asynchronously should connect to this signal to know when to cancel running proposal queries.</p> <dl class="since_2_10"><dt><b><a class="el" href="since__2__10.html#_since_2_10000037">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> <dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_cancelled()</code> </dd></dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a43a6d53498880ee262280f1f9123a451"></a><!-- doxytag: member="gtksourceview::SourceCompletionContext::wrap" ref="a43a6d53498880ee262280f1f9123a451" args="(GtkSourceCompletionContext *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="classgtksourceview_1_1SourceCompletionContext.html">gtksourceview::SourceCompletionContext</a> > wrap </td> <td>(</td> <td class="paramtype">GtkSourceCompletionContext * </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> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>