<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>libgtksourceviewmm: sourcetag.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.1 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul></div> <h1>sourcetag.h</h1><a href="sourcetag_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span> <a name="l00002"></a>00002 <span class="comment">// Generated by gtkmmproc -- DO NOT MODIFY!</span> <a name="l00003"></a>00003 <span class="preprocessor">#ifndef _GTKSOURCEVIEWMM_SOURCETAG_H</span> <a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define _GTKSOURCEVIEWMM_SOURCETAG_H</span> <a name="l00005"></a>00005 <span class="preprocessor"></span> <a name="l00006"></a>00006 <a name="l00007"></a>00007 <span class="preprocessor">#include <glibmm.h></span> <a name="l00008"></a>00008 <a name="l00009"></a>00009 <span class="comment">/* sourcetag.hg</span> <a name="l00010"></a>00010 <span class="comment"> * </span> <a name="l00011"></a>00011 <span class="comment"> *</span> <a name="l00012"></a>00012 <span class="comment"> * Copyright (C) 2004-2005 Jae Jang</span> <a name="l00013"></a>00013 <span class="comment"> * Copyright (C) 2005-2006 Rob Page</span> <a name="l00014"></a>00014 <span class="comment"> * Copyright (C)2006 Dodji Seketeli</span> <a name="l00015"></a>00015 <span class="comment"> *</span> <a name="l00016"></a>00016 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00017"></a>00017 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> <a name="l00018"></a>00018 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00019"></a>00019 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> <a name="l00020"></a>00020 <span class="comment"> *</span> <a name="l00021"></a>00021 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00022"></a>00022 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00023"></a>00023 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00024"></a>00024 <span class="comment"> * Library General Public License for more details.</span> <a name="l00025"></a>00025 <span class="comment"> *</span> <a name="l00026"></a>00026 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> <a name="l00027"></a>00027 <span class="comment"> * License along with this library; if not, write to the Free</span> <a name="l00028"></a>00028 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00029"></a>00029 <span class="comment"> */</span> <a name="l00030"></a>00030 <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="preprocessor">#include <glibmm/slisthandle.h></span> <a name="l00036"></a>00036 <span class="preprocessor">#include <gtkmm/textbuffer.h></span> <a name="l00037"></a>00037 <span class="preprocessor">#include <<a class="code" href="sourcetagstyle_8h.html">gtksourceviewmm/sourcetagstyle.h</a>></span> <a name="l00038"></a>00038 <span class="preprocessor">#include <gtksourceview/gtksourcetag.h></span> <a name="l00039"></a>00039 <a name="l00040"></a>00040 <a name="l00047"></a>00047 <a name="l00048"></a>00048 <a name="l00049"></a>00049 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00050"></a><a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">00050</a> <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_GtkSourceTag <a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a>; <a name="l00051"></a><a class="code" href="sourcetag_8h.html#ab05e8c40c39182bd0b63451fe853d8e">00051</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_GtkSourceTagClass <a class="code" href="sourcetag_8h.html#ab05e8c40c39182bd0b63451fe853d8e">GtkSourceTagClass</a>; <a name="l00052"></a>00052 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span> <a name="l00053"></a>00053 <a name="l00054"></a>00054 <a name="l00055"></a>00055 <span class="keyword">namespace </span>gtksourceview <a name="l00056"></a>00056 { <span class="keyword">class </span>SourceTag_Class; } <span class="comment">// namespace gtksourceview</span> <a name="l00057"></a>00057 <span class="keyword">namespace </span>gtksourceview <a name="l00058"></a>00058 { <a name="l00067"></a>00067 <a name="l00068"></a><a class="code" href="classgtksourceview_1_1SourceTag.html">00068</a> <span class="keyword">class </span><a class="code" href="classgtksourceview_1_1SourceTag.html">SourceTag</a> : <span class="keyword">public</span> Gtk::TextTag <a name="l00069"></a>00069 { <a name="l00070"></a>00070 <a name="l00071"></a>00071 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00072"></a>00072 <span class="preprocessor"></span> <a name="l00073"></a>00073 <span class="keyword">public</span>: <a name="l00074"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#0f0f818528b51afaf5af3b0f50474b3d">00074</a> <span class="keyword">typedef</span> <a class="code" href="classgtksourceview_1_1SourceTag.html">SourceTag</a> <a class="code" href="classgtksourceview_1_1SourceTag.html">CppObjectType</a>; <a name="l00075"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#42adf4db5976df09b1dfb577f05ffe23">00075</a> <span class="keyword">typedef</span> <a class="code" href="classgtksourceview_1_1SourceTag.html#f314b4e1b81a8f54420df2bc460a6b3c">SourceTag_Class</a> <a class="code" href="classgtksourceview_1_1SourceTag.html#42adf4db5976df09b1dfb577f05ffe23">CppClassType</a>; <a name="l00076"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#a05aef745d16fcbfd1b15285bf541665">00076</a> <span class="keyword">typedef</span> <a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a> <a class="code" href="classgtksourceview_1_1SourceTag.html#a05aef745d16fcbfd1b15285bf541665">BaseObjectType</a>; <a name="l00077"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#d38bb477ede095da0451770c617a0d3c">00077</a> <span class="keyword">typedef</span> <a class="code" href="sourcetag_8h.html#ab05e8c40c39182bd0b63451fe853d8e">GtkSourceTagClass</a> <a class="code" href="classgtksourceview_1_1SourceTag.html#d38bb477ede095da0451770c617a0d3c">BaseClassType</a>; <a name="l00078"></a>00078 <a name="l00079"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#f314b4e1b81a8f54420df2bc460a6b3c">00079</a> <span class="keyword">private</span>: <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classgtksourceview_1_1SourceTag.html#f314b4e1b81a8f54420df2bc460a6b3c">SourceTag_Class</a>; <a name="l00080"></a>00080 <span class="keyword">static</span> <a class="code" href="classgtksourceview_1_1SourceTag.html#42adf4db5976df09b1dfb577f05ffe23">CppClassType</a> sourcetag_class_; <a name="l00081"></a>00081 <a name="l00082"></a>00082 <span class="keyword">private</span>: <a name="l00083"></a>00083 <span class="comment">// noncopyable</span> <a name="l00084"></a>00084 <a class="code" href="classgtksourceview_1_1SourceTag.html#01f5a3de29531b738e112f790ca572e5">SourceTag</a>(<span class="keyword">const</span> <a class="code" href="classgtksourceview_1_1SourceTag.html">SourceTag</a>&); <a name="l00085"></a>00085 <a class="code" href="classgtksourceview_1_1SourceTag.html">SourceTag</a>& operator=(<span class="keyword">const</span> <a class="code" href="classgtksourceview_1_1SourceTag.html">SourceTag</a>&); <a name="l00086"></a>00086 <a name="l00087"></a>00087 <span class="keyword">protected</span>: <a name="l00088"></a>00088 <span class="keyword">explicit</span> <a class="code" href="classgtksourceview_1_1SourceTag.html#01f5a3de29531b738e112f790ca572e5">SourceTag</a>(<span class="keyword">const</span> Glib::ConstructParams& construct_params); <a name="l00089"></a>00089 <span class="keyword">explicit</span> <a class="code" href="classgtksourceview_1_1SourceTag.html#01f5a3de29531b738e112f790ca572e5">SourceTag</a>(<a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a>* castitem); <a name="l00090"></a>00090 <a name="l00091"></a>00091 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span> <a name="l00092"></a>00092 <a name="l00093"></a>00093 <span class="keyword">public</span>: <a name="l00094"></a>00094 <span class="keyword">virtual</span> <a class="code" href="classgtksourceview_1_1SourceTag.html#9fdcbdc0aadff86bd9b3f4ec74b1e6f2">~SourceTag</a>(); <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span> <a name="l00097"></a>00097 <span class="preprocessor"></span> <span class="keyword">static</span> GType <a class="code" href="classgtksourceview_1_1SourceTag.html#8f57853e084e28e221a0d93e02f5330b">get_type</a>() G_GNUC_CONST; <a name="l00098"></a>00098 static GType <a class="code" href="classgtksourceview_1_1SourceTag.html#67eebfbeb08234dfdb7db714a5c6df68">get_base_type</a>() G_GNUC_CONST; <a name="l00099"></a>00099 <span class="preprocessor">#endif</span> <a name="l00100"></a>00100 <span class="preprocessor"></span> <a name="l00102"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#0669c4e6e37ca327d65da5cec26b7d6f">00102</a> <a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a>* <a class="code" href="classgtksourceview_1_1SourceTag.html#0669c4e6e37ca327d65da5cec26b7d6f">gobj</a>() { <span class="keywordflow">return</span> reinterpret_cast<GtkSourceTag*>(gobject_); } <a name="l00103"></a>00103 <a name="l00105"></a><a class="code" href="classgtksourceview_1_1SourceTag.html#141c75f715c0fdd7296ba1652721951d">00105</a> <span class="keyword">const</span> <a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a>* <a class="code" href="classgtksourceview_1_1SourceTag.html#0669c4e6e37ca327d65da5cec26b7d6f">gobj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> reinterpret_cast<GtkSourceTag*>(gobject_); } <a name="l00106"></a>00106 <a name="l00108"></a>00108 <a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a>* <a class="code" href="classgtksourceview_1_1SourceTag.html#ae374c479aea9d3c9b7e60ee3a771b05">gobj_copy</a>(); <a name="l00109"></a>00109 <a name="l00110"></a>00110 <span class="keyword">private</span>: <a name="l00111"></a>00111 <a name="l00112"></a>00112 <a name="l00113"></a>00113 <span class="keyword">protected</span>: <a name="l00114"></a>00114 <a class="code" href="classgtksourceview_1_1SourceTag.html#01f5a3de29531b738e112f790ca572e5">SourceTag</a>(); <a name="l00115"></a>00115 <a name="l00116"></a>00116 <span class="keyword">public</span>: <a name="l00117"></a>00117 <a name="l00130"></a>00130 <span class="keyword">static</span> Glib::RefPtr<SourceTag> <a class="code" href="classgtksourceview_1_1SourceTag.html#d214f07db6b1f6b507dc38de82e5e70f">create_syntax_tag</a> (<span class="keyword">const</span> Glib::ustring &a_id, <a name="l00131"></a>00131 <span class="keyword">const</span> Glib::ustring &a_name, <a name="l00132"></a>00132 <span class="keyword">const</span> Glib::ustring &a_pat_start, <a name="l00133"></a>00133 <span class="keyword">const</span> Glib::ustring &a_pat_end); <a name="l00134"></a>00134 <a name="l00135"></a>00135 <a name="l00143"></a>00143 <span class="keyword">static</span> Glib::RefPtr<SourceTag> <a class="code" href="classgtksourceview_1_1SourceTag.html#8ded6351f67bc6941c19625c3ebbfee1">create_pattern_tag</a> (<span class="keyword">const</span> Glib::ustring &a_id, <a name="l00144"></a>00144 <span class="keyword">const</span> Glib::ustring &a_name, <a name="l00145"></a>00145 <span class="keyword">const</span> Glib::ustring &a_pattern); <a name="l00146"></a>00146 <a name="l00147"></a>00147 <a name="l00166"></a>00166 <span class="keyword">static</span> Glib::RefPtr<SourceTag> <a class="code" href="classgtksourceview_1_1SourceTag.html#4ca609d34d194d26412104059d9cae5b">create_keyword_list_tag</a> (<span class="keyword">const</span> Glib::ustring &a_id, <a name="l00167"></a>00167 <span class="keyword">const</span> Glib::ustring &a_name, <a name="l00168"></a>00168 <span class="keyword">const</span> Glib::SListHandle<const Glib::ustring> &a_keywords, <a name="l00169"></a>00169 <span class="keywordtype">bool</span> a_case_sensitive=<span class="keyword">true</span>, <a name="l00170"></a>00170 <span class="keywordtype">bool</span> a_match_empty_string_at_beginning=<span class="keyword">true</span>, <a name="l00171"></a>00171 <span class="keywordtype">bool</span> a_match_empty_string_at_end=<span class="keyword">true</span>, <a name="l00172"></a>00172 <span class="keyword">const</span> Glib::ustring &a_beginning_regex=<span class="stringliteral">""</span>, <a name="l00173"></a>00173 <span class="keyword">const</span> Glib::ustring &a_end_regex=<span class="stringliteral">""</span>) ; <a name="l00174"></a>00174 <a name="l00175"></a>00175 <a name="l00184"></a>00184 <span class="keyword">static</span> Glib::RefPtr<SourceTag> <a class="code" href="classgtksourceview_1_1SourceTag.html#aa06b32ac1b857935741a9cf27728269">create_line_comment_tag_new</a> (<span class="keyword">const</span> Glib::ustring &a_id, <a name="l00185"></a>00185 <span class="keyword">const</span> Glib::ustring &a_name, <a name="l00186"></a>00186 <span class="keyword">const</span> Glib::ustring &a_pattern_start) ; <a name="l00187"></a>00187 <a name="l00188"></a>00188 <a name="l00197"></a>00197 <span class="keyword">static</span> Glib::RefPtr<SourceTag> <a class="code" href="classgtksourceview_1_1SourceTag.html#18569e69f4458c7affe7839fbab9adc6">create_string_tag_new</a> (<span class="keyword">const</span> Glib::ustring &a_id, <a name="l00198"></a>00198 <span class="keyword">const</span> Glib::ustring &a_name, <a name="l00199"></a>00199 <span class="keyword">const</span> Glib::ustring &a_pattern_start, <a name="l00200"></a>00200 <span class="keyword">const</span> Glib::ustring &a_pattern_end, <a name="l00201"></a>00201 <span class="keywordtype">bool</span> a_end_at_line_end=<span class="keyword">true</span>) ; <a name="l00202"></a>00202 <a name="l00203"></a>00203 <a name="l00207"></a>00207 <a name="l00208"></a>00208 Glib::ustring <a class="code" href="classgtksourceview_1_1SourceTag.html#997d3549c3b7ae4fc0918da9dbfcbde5">get_id</a>() <span class="keyword">const</span>; <a name="l00209"></a>00209 <a name="l00213"></a>00213 <a name="l00214"></a>00214 <a class="code" href="classgtksourceview_1_1SourceTagStyle.html">SourceTagStyle</a> <a class="code" href="classgtksourceview_1_1SourceTag.html#c5fd77085d2a43eb416458249d1f46d9">get_style</a>() <span class="keyword">const</span>; <a name="l00215"></a>00215 <a name="l00219"></a>00219 <a name="l00220"></a>00220 <span class="keywordtype">void</span> <a class="code" href="classgtksourceview_1_1SourceTag.html#8456a44ffc267736980eb02999f8e5d0">set_style</a>(<span class="keyword">const</span> <a class="code" href="classgtksourceview_1_1SourceTagStyle.html">SourceTagStyle</a>& a_style); <a name="l00221"></a>00221 <a name="l00222"></a>00222 <a name="l00223"></a>00223 <span class="keyword">public</span>: <a name="l00224"></a>00224 <a name="l00225"></a>00225 <span class="keyword">public</span>: <a name="l00226"></a>00226 <span class="comment">//C++ methods used to invoke GTK+ virtual functions:</span> <a name="l00227"></a>00227 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span> <a name="l00228"></a>00228 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span> <a name="l00229"></a>00229 <span class="preprocessor"></span> <a name="l00230"></a>00230 <span class="keyword">protected</span>: <a name="l00231"></a>00231 <span class="comment">//GTK+ Virtual Functions (override these to change behaviour):</span> <a name="l00232"></a>00232 <span class="preprocessor">#ifdef GLIBMM_VFUNCS_ENABLED</span> <a name="l00233"></a>00233 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_VFUNCS_ENABLED</span> <a name="l00234"></a>00234 <span class="preprocessor"></span> <a name="l00235"></a>00235 <span class="comment">//Default Signal Handlers::</span> <a name="l00236"></a>00236 <span class="preprocessor">#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span> <a name="l00237"></a>00237 <span class="preprocessor"></span><span class="preprocessor">#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED</span> <a name="l00238"></a>00238 <span class="preprocessor"></span> <a name="l00239"></a>00239 <a name="l00240"></a>00240 };<span class="comment">//end class SourceTag</span> <a name="l00241"></a>00241 <a name="l00242"></a>00242 }<span class="comment">//end namespace gtksourceview</span> <a name="l00243"></a>00243 <a name="l00244"></a>00244 <a name="l00245"></a>00245 <span class="keyword">namespace </span>Glib <a name="l00246"></a>00246 { <a name="l00252"></a>00252 Glib::RefPtr<gtksourceview::SourceTag> wrap(<a class="code" href="sourcetag_8h.html#cbc1638a8b19b42dfc026827559aa0c1">GtkSourceTag</a>* object, <span class="keywordtype">bool</span> take_copy = <span class="keyword">false</span>); <a name="l00253"></a>00253 } <a name="l00254"></a>00254 <a name="l00255"></a>00255 <a name="l00256"></a>00256 <span class="preprocessor">#endif </span><span class="comment">/* _GTKSOURCEVIEWMM_SOURCETAG_H */</span> <a name="l00257"></a>00257 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 1 21:29:15 2007 for libgtksourceviewmm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>