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


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

Accessors
Methods

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:
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).

Xfc::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* Xfc::Gtk::SourceMarker::next (  )  const

Move to the next marker in the source buffer.

Returns:
The next marker.

SourceMarker* Xfc::Gtk::SourceMarker::prev (  )  const

Move to the previous marker in the source buffer.

Returns:
The previous marker.

void Xfc::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: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3