<!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::SourceCompletionItem Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtksourceviewmm  <span id="projectnumber">2.10.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- Generated by Doxygen 1.7.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><b>gtksourceview</b> </li> <li class="navelem"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#related">Related Functions</a> </div> <div class="headertitle"> <div class="title">gtksourceview::SourceCompletionItem Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="gtksourceview::SourceCompletionItem" --><!-- doxytag: inherits="Glib::Object,gtksourceview::SourceCompletionProposal" --> <p><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a>. <a href="classgtksourceview_1_1SourceCompletionItem.html#details">More...</a></p> <p><code>#include <gtksourceviewmm/sourcecompletionitem.h></code></p> <div class="dynheader"> Inheritance diagram for gtksourceview::SourceCompletionItem:</div> <div class="dyncontent"> <div class="center"><img src="classgtksourceview_1_1SourceCompletionItem__inherit__graph.png" border="0" usemap="#gtksourceview_1_1SourceCompletionItem_inherit__map" alt="Inheritance graph"/></div> <map name="gtksourceview_1_1SourceCompletionItem_inherit__map" id="gtksourceview_1_1SourceCompletionItem_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="5,229,99,256"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="66,80,192,107"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="182,155,292,181"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="72,5,187,32"/><area shape="rect" id="node8" href="classgtksourceview_1_1SourceCompletionProposal.html" title="Completion proposal object." alt="" coords="123,229,415,256"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classgtksourceview_1_1SourceCompletionItem-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45d1bfd26b51ee8c9bd689a31d77e897"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::gobj" ref="a45d1bfd26b51ee8c9bd689a31d77e897" args="()" --> GtkSourceCompletionItem* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a45d1bfd26b51ee8c9bd689a31d77e897">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="af2a8339d49f40fc631730b2012644cdb"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::gobj" ref="af2a8339d49f40fc631730b2012644cdb" args="() const " --> const GtkSourceCompletionItem* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#af2a8339d49f40fc631730b2012644cdb">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="aa67fd4b0bce9316716211a55b2b94cb8"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::gobj_copy" ref="aa67fd4b0bce9316716211a55b2b94cb8" args="()" --> GtkSourceCompletionItem* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#aa67fd4b0bce9316716211a55b2b94cb8">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"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/> < <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#ab077c322458c5d0e2456b405fe4f55b7">property_icon</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Icon to be shown for this item. <a href="#ab077c322458c5d0e2456b405fe4f55b7"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a8c5e00b8156800eb360f3520aa617651">property_icon</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Icon to be shown for this item. <a href="#a8c5e00b8156800eb360f3520aa617651"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#add8611a407de3576e39c6ba59484b85e">property_info</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Info to be shown for this item. <a href="#add8611a407de3576e39c6ba59484b85e"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#af1b39085aed8fc99b5265fcb28a51727">property_info</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Info to be shown for this item. <a href="#af1b39085aed8fc99b5265fcb28a51727"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#aa6990f77977fbd6a10b1f655bd84c4df">property_label</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Label to be shown for this item. <a href="#aa6990f77977fbd6a10b1f655bd84c4df"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a3de4a1db95f3ff06eedf814145bd98ed">property_label</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Label to be shown for this item. <a href="#a3de4a1db95f3ff06eedf814145bd98ed"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a03f5bf73073f3b9eed42dc3f2e38fbc2">property_markup</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Markup to be shown for this item. <a href="#a03f5bf73073f3b9eed42dc3f2e38fbc2"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a22638d27a88251e470f4de126cf17308">property_markup</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Markup to be shown for this item. <a href="#a22638d27a88251e470f4de126cf17308"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#abf25c92aa02b57fdfd6616dd859a4b2a">property_text</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Item text. <a href="#abf25c92aa02b57fdfd6616dd859a4b2a"></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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#aa11be56cc83f19ac64dea514fd74fd65">property_text</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Item text. <a href="#aa11be56cc83f19ac64dea514fd74fd65"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> 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><br class="typebreak"/> < <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a59a2507f135fc324854e217ef5cbaee0">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& label, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& icon, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& info)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a> with label <em>label</em>, icon <em>icon</em> and extra information <em>info</em>. <a href="#a59a2507f135fc324854e217ef5cbaee0"></a><br/></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><br class="typebreak"/> < <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a58736ad183387acde17605d51b462fc2">create</a> (const <a class="el" href="classgtksourceview_1_1SourceMarkup.html">SourceMarkup</a>& markup, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> >& icon, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& info)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a> with markup label <em>markup</em>, icon <em>icon</em> and extra information <em>info</em>. <a href="#a58736ad183387acde17605d51b462fc2"></a><br/></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><br class="typebreak"/> < <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#ad9e00b77c6f0eee89e1ff0491e324e3f">create</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& label, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& text, const <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1StockID.html">Gtk::StockID</a>& stock, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& info)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a> from a stock item. <a href="#ad9e00b77c6f0eee89e1ff0491e324e3f"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </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_1SourceCompletionItem.html">gtksourceview::SourceCompletionItem</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html#a9be73eb955ebba1af6afc1a7a8641154">wrap</a> (GtkSourceCompletionItem* 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="#a9be73eb955ebba1af6afc1a7a8641154"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p><a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a>. </p> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000048">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a59a2507f135fc324854e217ef5cbaee0"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::create" ref="a59a2507f135fc324854e217ef5cbaee0" args="(const Glib::ustring &label, const Glib::ustring &text, const Glib::RefPtr< const Gdk::Pixbuf > &icon, const Glib::ustring &info)" --> <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="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a>> gtksourceview::SourceCompletionItem::create </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>label</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</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_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > & </td> <td class="paramname"><em>icon</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>info</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a> with label <em>label</em>, icon <em>icon</em> and extra information <em>info</em>. </p> <p>; If <em>icon</em> is empty, then there will be no icon shown. If <em>info</em> is empty, then no extra information will be available.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The item label. </td></tr> <tr><td class="paramname">text</td><td>The item text. </td></tr> <tr><td class="paramname">icon</td><td>The item icon. </td></tr> <tr><td class="paramname">info</td><td>The item extra information.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>New <a class="el" href="classgtksourceview_1_1SourceCompletionInfo.html" title="Calltips object.">SourceCompletionInfo</a>.</dd></dl> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000049">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a58736ad183387acde17605d51b462fc2"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::create" ref="a58736ad183387acde17605d51b462fc2" args="(const SourceMarkup &markup, const Glib::ustring &text, const Glib::RefPtr< const Gdk::Pixbuf > &icon, const Glib::ustring &info)" --> <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="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a>> gtksourceview::SourceCompletionItem::create </td> <td>(</td> <td class="paramtype">const <a class="el" href="classgtksourceview_1_1SourceMarkup.html">SourceMarkup</a>& </td> <td class="paramname"><em>markup</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</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_1RefPtr.html">Glib::RefPtr</a>< const <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> > & </td> <td class="paramname"><em>icon</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>info</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a> with markup label <em>markup</em>, icon <em>icon</em> and extra information <em>info</em>. </p> <p>If <em>icon</em> is empty, then there will be no icon shown. If <em>info</em> is empty, then no extra information will be available.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">markup</td><td>The item markup label. </td></tr> <tr><td class="paramname">text</td><td>The item text. </td></tr> <tr><td class="paramname">icon</td><td>The item icon. </td></tr> <tr><td class="paramname">info</td><td>The item extra information.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>New <a class="el" href="classgtksourceview_1_1SourceCompletionInfo.html" title="Calltips object.">SourceCompletionInfo</a>.</dd></dl> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000050">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="ad9e00b77c6f0eee89e1ff0491e324e3f"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::create" ref="ad9e00b77c6f0eee89e1ff0491e324e3f" args="(const Glib::ustring &label, const Glib::ustring &text, const Gtk::StockID &stock, const Glib::ustring &info)" --> <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="classgtksourceview_1_1SourceCompletionItem.html">SourceCompletionItem</a>> gtksourceview::SourceCompletionItem::create </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>label</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="../../../gtkmm-2.4/reference/html/classGtk_1_1StockID.html">Gtk::StockID</a> & </td> <td class="paramname"><em>stock</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_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>info</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a new <a class="el" href="classgtksourceview_1_1SourceCompletionItem.html" title="SourceCompletionItem.">SourceCompletionItem</a> from a stock item. </p> <p>If <em>label</em> is empty, then stock label will be used.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">label</td><td>The item label. </td></tr> <tr><td class="paramname">text</td><td>The item text. </td></tr> <tr><td class="paramname">stock</td><td>The stock icon. </td></tr> <tr><td class="paramname">info</td><td>The item extra information.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>New <a class="el" href="classgtksourceview_1_1SourceCompletionInfo.html" title="Calltips object.">SourceCompletionInfo</a>.</dd></dl> <dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000051">Since gtksourceviewmm 2.10:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="ab077c322458c5d0e2456b405fe4f55b7"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_icon" ref="ab077c322458c5d0e2456b405fe4f55b7" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> > gtksourceview::SourceCompletionItem::property_icon </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Icon to be shown for this item. </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="a8c5e00b8156800eb360f3520aa617651"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_icon" ref="a8c5e00b8156800eb360f3520aa617651" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="elRef" href="../../../gtkmm-2.4/reference/html/classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>> > gtksourceview::SourceCompletionItem::property_icon </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Icon to be shown for this item. </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="add8611a407de3576e39c6ba59484b85e"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_info" ref="add8611a407de3576e39c6ba59484b85e" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_info </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Info to be shown for this item. </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="af1b39085aed8fc99b5265fcb28a51727"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_info" ref="af1b39085aed8fc99b5265fcb28a51727" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_info </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Info to be shown for this item. </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="aa6990f77977fbd6a10b1f655bd84c4df"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_label" ref="aa6990f77977fbd6a10b1f655bd84c4df" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_label </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Label to be shown for this item. </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="a3de4a1db95f3ff06eedf814145bd98ed"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_label" ref="a3de4a1db95f3ff06eedf814145bd98ed" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_label </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Label to be shown for this item. </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="a03f5bf73073f3b9eed42dc3f2e38fbc2"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_markup" ref="a03f5bf73073f3b9eed42dc3f2e38fbc2" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_markup </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Markup to be shown for this item. </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="a22638d27a88251e470f4de126cf17308"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_markup" ref="a22638d27a88251e470f4de126cf17308" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_markup </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Markup to be shown for this item. </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="abf25c92aa02b57fdfd6616dd859a4b2a"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_text" ref="abf25c92aa02b57fdfd6616dd859a4b2a" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Item 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="aa11be56cc83f19ac64dea514fd74fd65"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::property_text" ref="aa11be56cc83f19ac64dea514fd74fd65" 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="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> gtksourceview::SourceCompletionItem::property_text </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Item 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> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a9be73eb955ebba1af6afc1a7a8641154"></a><!-- doxytag: member="gtksourceview::SourceCompletionItem::wrap" ref="a9be73eb955ebba1af6afc1a7a8641154" args="(GtkSourceCompletionItem *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_1SourceCompletionItem.html">gtksourceview::SourceCompletionItem</a> > wrap </td> <td>(</td> <td class="paramtype">GtkSourceCompletionItem * </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> </tr> <tr> <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 class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</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 class="footer"><small> Generated on Tue May 15 2012 21:27:04 for gtksourceviewmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.7.5 </small></address> </body> </html>