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 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609
|
<!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::SourceView Class Reference</h1>A GtkSourceView C++ wrapper class.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="sourceview_8h-source.html">inti/gtk-sourceview/sourceview.h</a>></code>
<p>
<a href="classInti_1_1Gtk_1_1SourceView-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="z60_0" doxytag="Inti::Gtk::SourceView::SourceView"></a>
<a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z60_0">SourceView</a> ()
<dl class="el"><dd class="mdescRight">Constructs a new source view widget with an empty default buffer. <br><br></dl><li><a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z60_1">SourceView</a> (<a class="el" href="classInti_1_1Gtk_1_1SourceBuffer.html">SourceBuffer</a> &buffer)
<dl class="el"><dd class="mdescRight">Constructs a new source view widget displaying the <a class="el" href="classInti_1_1Gtk_1_1SourceBuffer.html">SourceBuffer</a> <em>buffer</em>. </em> <a href="#z60_1"></a><em><br><br></dl><li><a name="z60_2" doxytag="Inti::Gtk::SourceView::~SourceView"></a>
virtual <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z60_2">~SourceView</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="z61_0" doxytag="Inti::Gtk::SourceView::gtk_source_view"></a>
GtkSourceView * <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_0">gtk_source_view</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkSourceView structure. <br><br></dl><li><a name="z61_1" doxytag="Inti::Gtk::SourceView::gtk_source_view_class"></a>
GtkSourceViewClass * <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_1">gtk_source_view_class</a> () const
<dl class="el"><dd class="mdescRight">Get a pointer to the GtkSourceViewClass structure. <br><br></dl><li><a name="z61_2" doxytag="Inti::Gtk::SourceView::operator GtkSourceView *"></a>
<a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_2">operator GtkSourceView *</a> () const
<dl class="el"><dd class="mdescRight">Conversion operator; safely converts a <a class="el" href="classInti_1_1Gtk_1_1SourceView.html">SourceView</a> to a GtkSourceView pointer. <br><br></dl><li><a name="z61_3" doxytag="Inti::Gtk::SourceView::is_gtk_source_view"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_3">is_gtk_source_view</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the object instance is of type GTK_TYPE_SOURCE_VIEW. <br><br></dl><li><a name="z61_4" doxytag="Inti::Gtk::SourceView::get_source_buffer"></a>
<a class="el" href="classInti_1_1Gtk_1_1SourceBuffer.html">SourceBuffer</a> * <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_4">get_source_buffer</a> () const
<dl class="el"><dd class="mdescRight">Returns a pointer to the buffer being displayed by this source view. <br><br></dl><li><a name="z61_5" doxytag="Inti::Gtk::SourceView::get_show_line_numbers"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_5">get_show_line_numbers</a> () const
<dl class="el"><dd class="mdescRight">Returns true if line numbers are displayed. <br><br></dl><li><a name="z61_6" doxytag="Inti::Gtk::SourceView::get_show_line_markers"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_6">get_show_line_markers</a> () const
<dl class="el"><dd class="mdescRight">Returns true if line marker pixbufs are displayed. <br><br></dl><li><a name="z61_7" doxytag="Inti::Gtk::SourceView::get_tabs_width"></a>
unsigned int <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_7">get_tabs_width</a> () const
<dl class="el"><dd class="mdescRight">Returns the current tab width. <br><br></dl><li><a name="z61_8" doxytag="Inti::Gtk::SourceView::get_auto_indent"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_8">get_auto_indent</a> () const
<dl class="el"><dd class="mdescRight">Returns true if auto indentation is enabled. <br><br></dl><li><a name="z61_9" doxytag="Inti::Gtk::SourceView::get_insert_spaces_instead_of_tabs"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_9">get_insert_spaces_instead_of_tabs</a> () const
<dl class="el"><dd class="mdescRight">Returns true if spaces are inserted instead of tabs. <br><br></dl><li><a name="z61_10" doxytag="Inti::Gtk::SourceView::get_show_margin"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_10">get_show_margin</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the right margin is displayed. <br><br></dl><li><a name="z61_11" doxytag="Inti::Gtk::SourceView::get_margin"></a>
unsigned int <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_11">get_margin</a> () const
<dl class="el"><dd class="mdescRight">Returns the current position of the right margin. <br><br></dl><li>Pointer< Gdk::Pixbuf > <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_12">get_marker_pixbuf</a> (const String &marker_type) const
<dl class="el"><dd class="mdescRight">Gets the marker pixbuf. </em> <a href="#z61_12"></a><em><br><br></dl><li><a name="z61_13" doxytag="Inti::Gtk::SourceView::get_smart_home_end"></a>
bool <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z61_13">get_smart_home_end</a> () const
<dl class="el"><dd class="mdescRight">Returns true if the HOME and END keys move to the first/last characters on a line first before going to the start/end of the line. <br><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Methods</div></td></tr>
<ul>
<li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_0">set_show_line_numbers</a> (bool show)
<dl class="el"><dd class="mdescRight">Sets whether line numbers are displayed. </em> <a href="#z62_0"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_1">set_show_line_markers</a> (bool show)
<dl class="el"><dd class="mdescRight">Sets whether line marker pixbufs are displayed. </em> <a href="#z62_1"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_2">set_tabs_width</a> (unsigned int width)
<dl class="el"><dd class="mdescRight">Sets the tab width. </em> <a href="#z62_2"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_3">set_auto_indent</a> (bool enable)
<dl class="el"><dd class="mdescRight">Enables auto indentation. </em> <a href="#z62_3"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_4">set_insert_spaces_instead_of_tabs</a> (bool enable)
<dl class="el"><dd class="mdescRight">Sets whether spaces should be inserted instead of tabs. </em> <a href="#z62_4"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_5">set_show_margin</a> (bool show)
<dl class="el"><dd class="mdescRight">Sets whether the right margin is displayed. </em> <a href="#z62_5"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_6">set_margin</a> (unsigned int margin)
<dl class="el"><dd class="mdescRight">Sets the position of the right margin. </em> <a href="#z62_6"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_7">set_marker_pixbuf</a> (const String &marker_type, Gdk::Pixbuf *pixbuf)
<dl class="el"><dd class="mdescRight">Sets the line marker pixbuf. </em> <a href="#z62_7"></a><em><br><br></dl><li>void <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z62_8">set_smart_home_end</a> (bool enable)
<dl class="el"><dd class="mdescRight">Sets whether the HOME and END keys move to the first/last characters on a line first before going to the start/end of the line. </em> <a href="#z62_8"></a><em><br><br></dl></ul>
<tr><td colspan="2"><div class="groupHeader">Property Proxies</div></td></tr>
<ul>
<li><a name="z63_0" doxytag="Inti::Gtk::SourceView::prop_show_line_numbers"></a>
const ShowLineNumbersPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_0">prop_show_line_numbers</a> ()
<dl class="el"><dd class="mdescRight">Whether to display line numbers (bool : Read / Write). <br><br></dl><li><a name="z63_1" doxytag="Inti::Gtk::SourceView::prop_show_line_markers"></a>
const ShowLineMarkersPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_1">prop_show_line_markers</a> ()
<dl class="el"><dd class="mdescRight">Whether to display line marker pixbufs (bool : Read / Write). <br><br></dl><li><a name="z63_2" doxytag="Inti::Gtk::SourceView::prop_tabs_width"></a>
const TabsWidthPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_2">prop_tabs_width</a> ()
<dl class="el"><dd class="mdescRight">Set the tab width (unsigned int : Read / Write). <br><br></dl><li><a name="z63_3" doxytag="Inti::Gtk::SourceView::prop_auto_indent"></a>
const AutoIndentPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_3">prop_auto_indent</a> ()
<dl class="el"><dd class="mdescRight">Whether to enable auto indentation (bool : Read / Write). <br><br></dl><li><a name="z63_4" doxytag="Inti::Gtk::SourceView::prop_insert_spaces"></a>
const InsertSpacesPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_4">prop_insert_spaces</a> ()
<dl class="el"><dd class="mdescRight">Whether to insert spaces instead of tabs (bool : Read / Write). <br><br></dl><li><a name="z63_5" doxytag="Inti::Gtk::SourceView::prop_show_margin"></a>
const ShowMarginPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_5">prop_show_margin</a> ()
<dl class="el"><dd class="mdescRight">Whether to display the right margin (bool : Read / Write). <br><br></dl><li><a name="z63_6" doxytag="Inti::Gtk::SourceView::prop_margin"></a>
const MarginPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_6">prop_margin</a> ()
<dl class="el"><dd class="mdescRight">Position of the right margin (unsigned int : Read / Write). <br><br></dl><li><a name="z63_7" doxytag="Inti::Gtk::SourceView::prop_smart_home_end"></a>
const SmartHomeEndPropertyProxy <a class="el" href="classInti_1_1Gtk_1_1SourceView.html#z63_7">prop_smart_home_end</a> ()
<dl class="el"><dd class="mdescRight">The HOME and END keys move to the first/last characters on a line first before going to the start/end of the line (bool : Read / Write). <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_1SourceView.html#z59_0">SourceView</a> (GtkSourceView *view, bool reference=false)
<dl class="el"><dd class="mdescRight">Construct a new <a class="el" href="classInti_1_1Gtk_1_1SourceView.html">SourceView</a> from an existing GtkSourceView. </em> <a href="#z59_0"></a><em><br><br></dl></ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A GtkSourceView C++ wrapper class.
<p>
<a class="el" href="classInti_1_1Gtk_1_1SourceView.html">SourceView</a> is an enhanced Gtk::TextView widget that implements syntax highlighting and other features typical of a source code editor.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a name="z59_0" doxytag="Inti::Gtk::SourceView::SourceView"></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::SourceView::SourceView </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">GtkSourceView * </td>
<td class="mdname" nowrap> <em>view</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_1SourceView.html">SourceView</a> from an existing GtkSourceView.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>view</em> </td><td>A pointer to a GtkSourceView. </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>view</em> can be a newly created GtkSourceView or an existing GtkSourceView (see G::Object::Object). </td>
</tr>
</table>
<a name="z60_1" doxytag="Inti::Gtk::SourceView::SourceView"></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::SourceView::SourceView </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="classInti_1_1Gtk_1_1SourceBuffer.html">SourceBuffer</a> & </td>
<td class="mdname1" valign="top" nowrap> <em>buffer</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [explicit]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Constructs a new source view widget displaying the <a class="el" href="classInti_1_1Gtk_1_1SourceBuffer.html">SourceBuffer</a> <em>buffer</em>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>buffer</em> </td><td>A <a class="el" href="classInti_1_1Gtk_1_1SourceBuffer.html">SourceBuffer</a>.</td></tr>
</table>
</dl>
<br>
One buffer can be shared among many widgets. The source view adds its own reference count to the buffer; it does not take over an existing reference. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="z61_12" doxytag="Inti::Gtk::SourceView::get_marker_pixbuf"></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"> Pointer<Gdk::Pixbuf> Inti::Gtk::SourceView::get_marker_pixbuf </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const String & </td>
<td class="mdname1" valign="top" nowrap> <em>marker_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>
Gets the marker pixbuf.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>marker_type</em> </td><td>A String that indentifies the marker pixbuf. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A smart pointer to a Gdk::Pixbuf. </dd></dl>
</td>
</tr>
</table>
<a name="z62_3" doxytag="Inti::Gtk::SourceView::set_auto_indent"></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"> void Inti::Gtk::SourceView::set_auto_indent </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">bool </td>
<td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Enables auto indentation.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>enable</em> </td><td>Set <em>true</em> to enable auto indentation. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_4" doxytag="Inti::Gtk::SourceView::set_insert_spaces_instead_of_tabs"></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"> void Inti::Gtk::SourceView::set_insert_spaces_instead_of_tabs </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">bool </td>
<td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets whether spaces should be inserted instead of tabs.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>enable</em> </td><td>Set <em>true</em> to insert spaces. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_6" doxytag="Inti::Gtk::SourceView::set_margin"></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"> void Inti::Gtk::SourceView::set_margin </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">unsigned int </td>
<td class="mdname1" valign="top" nowrap> <em>margin</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the position of the right margin.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>margin</em> </td><td>The new position of the right margin. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_7" doxytag="Inti::Gtk::SourceView::set_marker_pixbuf"></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"> void Inti::Gtk::SourceView::set_marker_pixbuf </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const String & </td>
<td class="mdname" nowrap> <em>marker_type</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Gdk::Pixbuf * </td>
<td class="mdname" nowrap> <em>pixbuf</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the line marker pixbuf.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>marker_type</em> </td><td>A String indentifying the marker pixbuf. </td></tr>
<tr><td valign=top><em>pixbuf</em> </td><td>A Gdk::Pixbuf. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_1" doxytag="Inti::Gtk::SourceView::set_show_line_markers"></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"> void Inti::Gtk::SourceView::set_show_line_markers </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">bool </td>
<td class="mdname1" valign="top" nowrap> <em>show</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets whether line marker pixbufs are displayed.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>show</em> </td><td>Set <em>true</em> to display line markers. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_0" doxytag="Inti::Gtk::SourceView::set_show_line_numbers"></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"> void Inti::Gtk::SourceView::set_show_line_numbers </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">bool </td>
<td class="mdname1" valign="top" nowrap> <em>show</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets whether line numbers are displayed.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>show</em> </td><td>Set <em>true</em> to display line numbers. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_5" doxytag="Inti::Gtk::SourceView::set_show_margin"></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"> void Inti::Gtk::SourceView::set_show_margin </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">bool </td>
<td class="mdname1" valign="top" nowrap> <em>show</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets whether the right margin is displayed.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>show</em> </td><td>Set <em>true</em> to display the right margin. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_8" doxytag="Inti::Gtk::SourceView::set_smart_home_end"></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"> void Inti::Gtk::SourceView::set_smart_home_end </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">bool </td>
<td class="mdname1" valign="top" nowrap> <em>enable</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets whether the HOME and END keys move to the first/last characters on a line first before going to the start/end of the line.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>enable</em> </td><td>Set <em>true</em> to enable smart home/end. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="z62_2" doxytag="Inti::Gtk::SourceView::set_tabs_width"></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"> void Inti::Gtk::SourceView::set_tabs_width </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">unsigned int </td>
<td class="mdname1" valign="top" nowrap> <em>width</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the tab width.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>width</em> </td><td>The new tab width. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="sourceview_8h-source.html">sourceview.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:28 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>
|