Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gtk::SourceMarker Class Reference

A GtkSourceMarker C++ wrapper class. More...

#include <inti/gtk-sourceview/sourcebuffer.h>

List of all members.

Public Member Functions

Constructors
Accessors
Methods

Protected Member Functions

Constructors

Detailed Description

A GtkSourceMarker C++ wrapper class.

SourceMarker is like a bookmark in a source buffer; it preserves a position in the text across source buffer modifications (see Gtk::TextMark). Typical uses for markers are bookmarks, breakpoints, current executing instruction indication in a source file, etc..


Constructor & Destructor Documentation

Inti::Gtk::SourceMarker::SourceMarker GtkSourceMarker *  marker,
bool  reference = false
[explicit, protected]
 

Construct a new SourceMarker from an existing GtkSourceMarker.

Parameters:
marker A pointer to a GtkSourceMarker.
reference Set false if the initial reference count is floating, set true if it's not.

The marker can be a newly created GtkSourceMarker or an existing GtkSourceMarker (see G::Object::Object).


Member Function Documentation

SourceMarker* Inti::Gtk::SourceMarker::next  )  const
 

Move to the next marker in the source buffer.

Returns:
The next marker.

SourceMarker* Inti::Gtk::SourceMarker::prev  )  const
 

Move to the previous marker in the source buffer.

Returns:
The previous marker.

void Inti::Gtk::SourceMarker::set_marker_type const String &  type  ) 
 

Set the marker type.

Parameters:
type The marker type.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Wed Aug 27 21:17:27 2003 for Inti-SourceView by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002