Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Member Functions
Xfc::Gtk::SourceMarker Class Reference

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

Inheritance diagram for Xfc::Gtk::SourceMarker:
Xfc::Gtk::TextMark Xfc::G::Object Xfc::G::TypeInstance Xfc::Trackable

List of all members.

Public 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

Xfc::Gtk::SourceMarker::SourceMarker ( GtkSourceMarker *  marker,
bool  reference = false 
) [explicit, protected]

Construct a new SourceMarker from an existing GtkSourceMarker.

Parameters:
markerA pointer to a GtkSourceMarker.
referenceSet 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

Move to the next marker in the source buffer.

Returns:
The next marker.

Move to the previous marker in the source buffer.

Returns:
The previous marker.

Set the marker type.

Parameters:
typeThe marker type.

The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC