1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Main Page - Header</title>
<link href="inti.css" rel="stylesheet" type="text/css">
<meta name="description" content="Reference Manual">
<meta name="author" content="The Inti Development Team">
</head>
<body style="color: rgb(0, 0, 0); background-color: rgb(231, 232, 231);"
link="#000099" vlink="#990099" alink="#000099">
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tbody>
<tr
style="color: rgb(255, 255, 204); font-family: helvetica,arial,sans-serif; font-weight: bold;">
<td
style="vertical-align: top; background-color: rgb(0, 55, 85); text-align: center;">
<font size="+1">Reference Manual</font> </td>
</tr>
<tr>
<td valign="top" height="116" background="../images/top-fade.png"
align="center"><img src="../images/inti-logo.png" alt="Inti Logo"> <br>
</td>
</tr>
</tbody>
</table>
</body>
</html>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
<h1>Inti::Gtk::SourceLanguagesManager Class Reference</h1>A GtkSourceLanguagesManager C++ wrapper class.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="sourcelanguage_8h-source.html">inti/gtk-sourceview/sourcelanguage.h</a>></code>
<p>
<a href="classInti_1_1Gtk_1_1SourceLanguagesManager-members.html">List of all members.</a><h2>Public Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a name="z21_0" doxytag="Inti::Gtk::SourceLanguagesManager::SourceLanguagesManager"></a>
<a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z21_0">SourceLanguagesManager</a> ()
<dl class="el"><dd class="mdescRight">Construct a new source languages manager object. <br><br></dl><li><a name="z21_1" doxytag="Inti::Gtk::SourceLanguagesManager::~SourceLanguagesManager"></a>
virtual <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z21_1">~SourceLanguagesManager</a> ()
<dl class="el"><dd class="mdescRight">Destructor. <br><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li><a name="z22_0" doxytag="Inti::Gtk::SourceLanguagesManager::gtk_source_languages_manager"></a>
GtkSourceLanguagesManager * <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z22_0">gtk_source_languages_manager</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkSourceLanguagesManager structure. <br><br></dl><li><a name="z22_1" doxytag="Inti::Gtk::SourceLanguagesManager::gtk_source_languages_manager_class"></a>
GtkSourceLanguagesManagerClass * <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z22_1">gtk_source_languages_manager_class</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkSourceLanguagesManagerClass structure. <br><br></dl><li><a name="z22_2" doxytag="Inti::Gtk::SourceLanguagesManager::operator GtkSourceLanguagesManager *"></a>
<a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z22_2">operator GtkSourceLanguagesManager *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts a <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html">SourceLanguagesManager</a> to a GtkSourceLanguagesManager pointer. <br><br></dl><li><a name="z22_3" doxytag="Inti::Gtk::SourceLanguagesManager::is_gtk_source_languages_manager"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z22_3">is_gtk_source_languages_manager</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the object instance is of type GTK_TYPE_SOURCE_LANGUAGES_MANAGER. <br><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<ul>
<li>bool <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z23_0">get_available_languages</a> (std::vector< <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> * > &languages) const
<dl class="el"><dd class="mdescRight">Get a list of the available source languages. </em> <a href="#z23_0"></a><em><br><br></dl><li><a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> * <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z23_1">get_language_from_mime_type</a> (const String &mime_type) const
<dl class="el"><dd class="mdescRight">Get the <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> object for <em>mime_type</em>. </em> <a href="#z23_1"></a><em><br><br></dl><li><a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">Gtk::SourceLanguage</a> * <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z23_2">get_language_from_name</a> (const String &language) const
<dl class="el"><dd class="mdescRight">Get the <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> object for <em>language</em>. </em> <a href="#z23_2"></a><em><br><br></dl><li>bool <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z23_3">get_lang_files_dirs</a> (std::vector< String > &dirs) const
<dl class="el"><dd class="mdescRight">Get a list of the directories where language specifications are kept. </em> <a href="#z23_3"></a><em><br><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Property Proxies</div></td></tr>
<ul>
<li><a name="z24_0" doxytag="Inti::Gtk::SourceLanguagesManager::prop_lang_specs_dirs"></a>
const LangSpecsDirsPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z24_0">prop_lang_specs_dirs</a> ()
<dl class="el"><dd class="mdescRight">A list of directories where the language specification files (.lang) are located (GSList* : Read / Write / Construct Only). <br><br></dl></ul>
<h2>Protected Member Functions</h2>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<ul>
<li><a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html#z20_0">SourceLanguagesManager</a> (GtkSourceLanguagesManager *lm, bool reference=false)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html">SourceLanguagesManager</a> from an existing GtkSourceLanguagesManager. </em> <a href="#z20_0"></a><em><br><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkSourceLanguagesManager C++ wrapper class.
<p>
<a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html">SourceLanguagesManager</a> is an object that manages a SourceBuffer's languages.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a name="z20_0" doxytag="Inti::Gtk::SourceLanguagesManager::SourceLanguagesManager"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Inti::Gtk::SourceLanguagesManager::SourceLanguagesManager </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">GtkSourceLanguagesManager * </td>
<td class="mdname" nowrap> <em>lm</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool </td>
<td class="mdname" nowrap> <em>reference</em> = false</td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [explicit, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Construct a new <a class="el" href="classInti_1_1Gtk_1_1SourceLanguagesManager.html">SourceLanguagesManager</a> from an existing GtkSourceLanguagesManager.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>lm</em> </td><td>A pointer to a GtkSourceLanguagesManager. </td></tr>
<tr><td valign=top><em>reference</em> </td><td>Set false if the initial reference count is floating, set true if it's not.</td></tr>
</table>
</dl>
<br>
The <em>lm</em> can be a newly created GtkSourceLanguagesManager or an existing GtkSourceLanguagesManager (see G::Object::Object). </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="z23_0" doxytag="Inti::Gtk::SourceLanguagesManager::get_available_languages"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool Inti::Gtk::SourceLanguagesManager::get_available_languages </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">std::vector< <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> * > & </td>
<td class="mdname1" valign="top" nowrap> <em>languages</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Get a list of the available source languages.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>languages</em> </td><td>A vector of <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> pointers to hold the available languages. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if <em>languages</em> is not empty. </dd></dl>
</td>
</tr>
</table>
<a name="z23_3" doxytag="Inti::Gtk::SourceLanguagesManager::get_lang_files_dirs"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool Inti::Gtk::SourceLanguagesManager::get_lang_files_dirs </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">std::vector< String > & </td>
<td class="mdname1" valign="top" nowrap> <em>dirs</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Get a list of the directories where language specifications are kept.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>dirs</em> </td><td>A vector of String to hold the directories. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><em>true</em> if <em>dirs</em> is not empty. </dd></dl>
</td>
</tr>
</table>
<a name="z23_1" doxytag="Inti::Gtk::SourceLanguagesManager::get_language_from_mime_type"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a>* Inti::Gtk::SourceLanguagesManager::get_language_from_mime_type </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const String & </td>
<td class="mdname1" valign="top" nowrap> <em>mime_type</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Get the <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> object for <em>mime_type</em>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>mime_type</em> </td><td>The mime type. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a>. </dd></dl>
</td>
</tr>
</table>
<a name="z23_2" doxytag="Inti::Gtk::SourceLanguagesManager::get_language_from_name"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">Gtk::SourceLanguage</a>* Inti::Gtk::SourceLanguagesManager::get_language_from_name </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const String & </td>
<td class="mdname1" valign="top" nowrap> <em>language</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> const</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Get the <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a> object for <em>language</em>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>language</em> </td><td>The name of the language. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The <a class="el" href="classInti_1_1Gtk_1_1SourceLanguage.html">SourceLanguage</a>.</dd></dl>
<br>
The names for the currently supported languages are: Ada, C, C++, Diff, .desktop, HTML, IDL, Java, Latex, Perl, gettext translation, Python, XML. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="sourcelanguage_8h-source.html">sourcelanguage.h</a></ul>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Main Page - Footer</title>
<meta name="description" content="Reference Manual">
<meta name="author" content="The Inti Development Team">
</head>
<body>
<br>
<br>
<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
<tbody>
<tr>
<td valign="top">
<hr></td>
</tr>
<tr>
<td valign="top" height="116"
background="../images/bottom-fade.png">
<address><small>Generated on Wed Aug 27 21:17:27 2003 for Inti-SourceView by <a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" align="middle" border="0" width="110" height="53"> </a>
1.3.2 written by <a href="mailto:dimitri@stack.nl">Dimitri
van Heesch</a>, © 1997-2002</small></address>
</td>
</tr>
<tr>
<td style="vertical-align: top; background-color: rgb(0, 55, 85);"><br>
</td>
</tr>
</tbody>
</table>
<br>
</body>
</html>
|