<!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: Gsv::StyleSchemeManager 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.7.4 --> <div id="top"> <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">3.2.0</span></div> </td> </tr> </tbody> </table> </div> <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>Gsv</b> </li> <li class="navelem"><a class="el" href="classGsv_1_1StyleSchemeManager.html">StyleSchemeManager</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">Gsv::StyleSchemeManager Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="Gsv::StyleSchemeManager" --><!-- doxytag: inherits="Glib::Object" --> <p>Class providing access to SourceStyleSchemes. <a href="classGsv_1_1StyleSchemeManager.html#details">More...</a></p> <p><code>#include <gtksourceviewmm/styleschememanager.h></code></p> <div class="dynheader"> Inheritance diagram for Gsv::StyleSchemeManager:</div> <div class="dyncontent"> <div class="center"><img src="classGsv_1_1StyleSchemeManager__inherit__graph.png" border="0" usemap="#Gsv_1_1StyleSchemeManager_inherit__map" alt="Inheritance graph"/></div> <map name="Gsv_1_1StyleSchemeManager_inherit__map" id="Gsv_1_1StyleSchemeManager_inherit__map"> <area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="56,160,149,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="40,83,165,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="45,5,160,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGsv_1_1StyleSchemeManager-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="a541b99c5e1ab4a9691236fd33bd22524"></a><!-- doxytag: member="Gsv::StyleSchemeManager::gobj" ref="a541b99c5e1ab4a9691236fd33bd22524" args="()" --> GtkSourceStyleSchemeManager* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a541b99c5e1ab4a9691236fd33bd22524">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="af0b0f7c9e232e71596c034e9e546a86b"></a><!-- doxytag: member="Gsv::StyleSchemeManager::gobj" ref="af0b0f7c9e232e71596c034e9e546a86b" args="() const " --> const GtkSourceStyleSchemeManager* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#af0b0f7c9e232e71596c034e9e546a86b">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="a3757bacbce15929f69256316361a51e4"></a><!-- doxytag: member="Gsv::StyleSchemeManager::gobj_copy" ref="a3757bacbce15929f69256316361a51e4" args="()" --> GtkSourceStyleSchemeManager* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a3757bacbce15929f69256316361a51e4">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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a1137bd67ce073bc2768600b69c83b75c">get_search_path</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current search path for the manager. <a href="#a1137bd67ce073bc2768600b69c83b75c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#abba091f6530fc57678a8dc1003bd9c0a">set_search_path</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> >& path)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the list of directories where the manager looks for style scheme files. <a href="#abba091f6530fc57678a8dc1003bd9c0a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff9d46aa969a298cd10f9e57f78cb14f"></a><!-- doxytag: member="Gsv::StyleSchemeManager::reset_search_path" ref="aff9d46aa969a298cd10f9e57f78cb14f" args="()" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#aff9d46aa969a298cd10f9e57f78cb14f">reset_search_path</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Resets the list of directories where the manager looks for style scheme files to default. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#aefc03f29d856154e2b05c2e077908618">append_search_path</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& path)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Appends <em>path</em> to the list of directories where the <em>manager</em> looks for style scheme files. <a href="#aefc03f29d856154e2b05c2e077908618"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a3f7174b9d3baa1b6765b9b2be5c84f1f">prepend_search_path</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& path)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Prepends <em>path</em> to the list of directories where the <em>manager</em> looks for style scheme files. <a href="#a3f7174b9d3baa1b6765b9b2be5c84f1f"></a><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>< <a class="el" href="classGsv_1_1StyleScheme.html">StyleScheme</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#ab193fb63b61b64e2a88be1c87493a3dc">get_scheme</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& scheme_id)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Looks up style scheme by id. <a href="#ab193fb63b61b64e2a88be1c87493a3dc"></a><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>< const <a class="el" href="classGsv_1_1StyleScheme.html">StyleScheme</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a835bb9095a337995f710a96c140d779b">get_scheme</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>& scheme_id) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Looks up style scheme by id. <a href="#a835bb9095a337995f710a96c140d779b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#adabefe2030d4e920f36a6b9626c136c3">force_rescan</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classGsv_1_1Mark.html" title="Mark class for Buffer.">Mark</a> any currently cached information about the available style schemes as invalid. <a href="#adabefe2030d4e920f36a6b9626c136c3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#ae6fd9e8fa78bf322b24436ac0d89957f">get_scheme_ids</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the ids of the available style schemes. <a href="#ae6fd9e8fa78bf322b24436ac0d89957f"></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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a360cee8ceb9b3733d1aa9af0df3921aa">property_search_path</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">List of directories and files where the style schemes are located. <a href="#a360cee8ceb9b3733d1aa9af0df3921aa"></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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#af9676cb0cdf2b94d17214e469bb1cb86">property_search_path</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">List of directories and files where the style schemes are located. <a href="#af9676cb0cdf2b94d17214e469bb1cb86"></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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a9c13103b7261b32e52528b0326338fb3">property_scheme_ids</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">List of the ids of the available style schemes. <a href="#a9c13103b7261b32e52528b0326338fb3"></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="classGsv_1_1StyleSchemeManager.html">StyleSchemeManager</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#ac0376964a1083b9c7f597e6ba04ae830">create</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new style manager. <a href="#ac0376964a1083b9c7f597e6ba04ae830"></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="classGsv_1_1StyleSchemeManager.html">StyleSchemeManager</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#aa2a16605ec386dff410bc4db2a4d393b">get_default</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the default <a class="el" href="classGsv_1_1StyleSchemeManager.html" title="Class providing access to SourceStyleSchemes.">StyleSchemeManager</a> instance. <a href="#aa2a16605ec386dff410bc4db2a4d393b"></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="classGsv_1_1StyleSchemeManager.html">Gsv::StyleSchemeManager</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGsv_1_1StyleSchemeManager.html#a5c7fec536bbde6affd4b8d2931172930">wrap</a> (GtkSourceStyleSchemeManager* 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="#a5c7fec536bbde6affd4b8d2931172930"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Class providing access to SourceStyleSchemes. </p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aefc03f29d856154e2b05c2e077908618"></a><!-- doxytag: member="Gsv::StyleSchemeManager::append_search_path" ref="aefc03f29d856154e2b05c2e077908618" args="(const std::string &path)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gsv::StyleSchemeManager::append_search_path </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>path</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Appends <em>path</em> to the list of directories where the <em>manager</em> looks for style scheme files. </p> <p>See <a class="el" href="classGsv_1_1StyleSchemeManager.html#abba091f6530fc57678a8dc1003bd9c0a" title="Sets the list of directories where the manager looks for style scheme files.">set_search_path()</a> for details. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">path</td><td>A directory or a filename. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ac0376964a1083b9c7f597e6ba04ae830"></a><!-- doxytag: member="Gsv::StyleSchemeManager::create" ref="ac0376964a1083b9c7f597e6ba04ae830" args="()" --> <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="classGsv_1_1StyleSchemeManager.html">StyleSchemeManager</a>> Gsv::StyleSchemeManager::create </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a new style manager. </p> <p>If you do not need more than one style manager then use <a class="el" href="classGsv_1_1StyleSchemeManager.html#aa2a16605ec386dff410bc4db2a4d393b" title="Returns the default StyleSchemeManager instance.">get_default()</a> instead.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGsv_1_1StyleSchemeManager.html" title="Class providing access to SourceStyleSchemes.">StyleSchemeManager</a>. </dd></dl> </div> </div> <a class="anchor" id="adabefe2030d4e920f36a6b9626c136c3"></a><!-- doxytag: member="Gsv::StyleSchemeManager::force_rescan" ref="adabefe2030d4e920f36a6b9626c136c3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gsv::StyleSchemeManager::force_rescan </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="classGsv_1_1Mark.html" title="Mark class for Buffer.">Mark</a> any currently cached information about the available style schemes as invalid. </p> <p>All the available style schemes will be reloaded next time the manager is accessed. </p> </div> </div> <a class="anchor" id="aa2a16605ec386dff410bc4db2a4d393b"></a><!-- doxytag: member="Gsv::StyleSchemeManager::get_default" ref="aa2a16605ec386dff410bc4db2a4d393b" args="()" --> <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="classGsv_1_1StyleSchemeManager.html">StyleSchemeManager</a>> Gsv::StyleSchemeManager::get_default </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the default <a class="el" href="classGsv_1_1StyleSchemeManager.html" title="Class providing access to SourceStyleSchemes.">StyleSchemeManager</a> instance. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGsv_1_1StyleSchemeManager.html" title="Class providing access to SourceStyleSchemes.">StyleSchemeManager</a>. </dd></dl> </div> </div> <a class="anchor" id="ab193fb63b61b64e2a88be1c87493a3dc"></a><!-- doxytag: member="Gsv::StyleSchemeManager::get_scheme" ref="ab193fb63b61b64e2a88be1c87493a3dc" args="(const std::string &scheme_id)" --> <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="classGsv_1_1StyleScheme.html">StyleScheme</a>> Gsv::StyleSchemeManager::get_scheme </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>scheme_id</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Looks up style scheme by id. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">scheme_id</td><td><a class="el" href="classGsv_1_1Style.html" title="Class representing a style.">Style</a> scheme id to find.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGsv_1_1StyleScheme.html" title="Object controlling appearance of View.">StyleScheme</a> object. </dd></dl> </div> </div> <a class="anchor" id="a835bb9095a337995f710a96c140d779b"></a><!-- doxytag: member="Gsv::StyleSchemeManager::get_scheme" ref="a835bb9095a337995f710a96c140d779b" args="(const std::string &scheme_id) 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_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGsv_1_1StyleScheme.html">StyleScheme</a>> Gsv::StyleSchemeManager::get_scheme </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>scheme_id</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Looks up style scheme by id. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">scheme_id</td><td><a class="el" href="classGsv_1_1Style.html" title="Class representing a style.">Style</a> scheme id to find.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGsv_1_1StyleScheme.html" title="Object controlling appearance of View.">StyleScheme</a> object. </dd></dl> </div> </div> <a class="anchor" id="ae6fd9e8fa78bf322b24436ac0d89957f"></a><!-- doxytag: member="Gsv::StyleSchemeManager::get_scheme_ids" ref="ae6fd9e8fa78bf322b24436ac0d89957f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> Gsv::StyleSchemeManager::get_scheme_ids </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the ids of the available style schemes. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>An array of string containing the ids of the available style schemes. </dd></dl> </div> </div> <a class="anchor" id="a1137bd67ce073bc2768600b69c83b75c"></a><!-- doxytag: member="Gsv::StyleSchemeManager::get_search_path" ref="a1137bd67ce073bc2768600b69c83b75c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> Gsv::StyleSchemeManager::get_search_path </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns the current search path for the manager. </p> <p>See <a class="el" href="classGsv_1_1StyleSchemeManager.html#abba091f6530fc57678a8dc1003bd9c0a" title="Sets the list of directories where the manager looks for style scheme files.">set_search_path()</a> for details.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>An array of string containing the search path. </dd></dl> </div> </div> <a class="anchor" id="a3f7174b9d3baa1b6765b9b2be5c84f1f"></a><!-- doxytag: member="Gsv::StyleSchemeManager::prepend_search_path" ref="a3f7174b9d3baa1b6765b9b2be5c84f1f" args="(const std::string &path)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gsv::StyleSchemeManager::prepend_search_path </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> & </td> <td class="paramname"><em>path</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Prepends <em>path</em> to the list of directories where the <em>manager</em> looks for style scheme files. </p> <p>See <a class="el" href="classGsv_1_1StyleSchemeManager.html#abba091f6530fc57678a8dc1003bd9c0a" title="Sets the list of directories where the manager looks for style scheme files.">set_search_path()</a> for details. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">path</td><td>A directory or a filename. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a9c13103b7261b32e52528b0326338fb3"></a><!-- doxytag: member="Gsv::StyleSchemeManager::property_scheme_ids" ref="a9c13103b7261b32e52528b0326338fb3" 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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> > Gsv::StyleSchemeManager::property_scheme_ids </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>List of the ids of the available style schemes. </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="af9676cb0cdf2b94d17214e469bb1cb86"></a><!-- doxytag: member="Gsv::StyleSchemeManager::property_search_path" ref="af9676cb0cdf2b94d17214e469bb1cb86" 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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> > Gsv::StyleSchemeManager::property_search_path </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>List of directories and files where the style schemes are located. </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="a360cee8ceb9b3733d1aa9af0df3921aa"></a><!-- doxytag: member="Gsv::StyleSchemeManager::property_search_path" ref="a360cee8ceb9b3733d1aa9af0df3921aa" 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="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a><<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>> > Gsv::StyleSchemeManager::property_search_path </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>List of directories and files where the style schemes are located. </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="abba091f6530fc57678a8dc1003bd9c0a"></a><!-- doxytag: member="Gsv::StyleSchemeManager::set_search_path" ref="abba091f6530fc57678a8dc1003bd9c0a" args="(const std::vector< std::string > &path)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gsv::StyleSchemeManager::set_search_path </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00931.html">std::vector</a>< <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01629.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> > & </td> <td class="paramname"><em>path</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the list of directories where the manager looks for style scheme files. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">path</td><td>An empty string terminated array of strings. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a5c7fec536bbde6affd4b8d2931172930"></a><!-- doxytag: member="Gsv::StyleSchemeManager::wrap" ref="a5c7fec536bbde6affd4b8d2931172930" args="(GtkSourceStyleSchemeManager *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="classGsv_1_1StyleSchemeManager.html">Gsv::StyleSchemeManager</a> > wrap </td> <td>(</td> <td class="paramtype">GtkSourceStyleSchemeManager * </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 Wed Sep 28 2011 for gtksourceviewmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>