|
gtksourceviewmm 3.91.1
|
Mark class for Buffer. More...
#include <gtksourceviewmm/mark.h>

Public Member Functions | |
| Mark (Mark&& src) noexcept | |
| Mark& | operator= (Mark&& src) noexcept |
| ~Mark () noexcept override | |
| GtkSourceMark* | gobj () |
| Provides access to the underlying C GObject. | |
| const GtkSourceMark* | gobj () const |
| Provides access to the underlying C GObject. | |
| GtkSourceMark* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| Glib::ustring | get_category () const |
| Returns the mark category. | |
| Glib::RefPtr< Gsv::Mark > | next (const Glib::ustring& category) |
| Returns the next Mark in the buffer. | |
| Glib::RefPtr< const Gsv::Mark > | next (const Glib::ustring& category) const |
| Returns the next Mark in the buffer. | |
| Glib::RefPtr< Gsv::Mark > | next () |
| Returns the next Mark of any category in the buffer. | |
| Glib::RefPtr< const Gsv::Mark > | next () const |
| Returns the next Mark of any category in the buffer. | |
| Glib::RefPtr< Gsv::Mark > | prev (const Glib::ustring& category) |
| Returns the previous Mark in the buffer. | |
| Glib::RefPtr< const Gsv::Mark > | prev (const Glib::ustring& category) const |
| Returns the previous Mark in the buffer. | |
| Glib::RefPtr< Gsv::Mark > | prev () |
| Returns the previous Mark of any category in the buffer. | |
| Glib::RefPtr< const Gsv::Mark > | prev () const |
| Returns the previous Mark of any category in the buffer. | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_category () const |
| The mark category. | |
Public Member Functions inherited from Gtk::TextMark | |
| TextMark (TextMark &&src) noexcept | |
| TextMark & | operator= (TextMark &&src) noexcept |
| ~TextMark () noexcept override | |
| GtkTextMark * | gobj () |
| const GtkTextMark * | gobj () const |
| GtkTextMark * | gobj_copy () |
| void | set_visible (bool setting=true) |
| bool | get_visible () const |
| Glib::ustring | get_name () const |
| bool | get_deleted () const |
| Glib::RefPtr< TextBuffer > | get_buffer () |
| Glib::RefPtr< const TextBuffer > | get_buffer () const |
| bool | get_left_gravity () const |
| TextIter | get_iter () |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| Glib::PropertyProxy_ReadOnly< bool > | property_left_gravity () const |
| Glib::RefPtr< Gtk::TextMark > | wrap (GtkTextMark *object, bool take_copy=false) |
Static Public Member Functions | |
| static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system. | |
| static Glib::RefPtr< Mark > | create (const Glib::ustring& category) |
| Creates an anonymous text mark. | |
| static Glib::RefPtr< Mark > | create (const Glib::ustring& name, const Glib::ustring& category) |
| Creates a text mark. | |
Static Public Member Functions inherited from Gtk::TextMark | |
| static GType | get_type () |
| static Glib::RefPtr< TextMark > | create (bool left_gravity=true) |
| static Glib::RefPtr< TextMark > | create (const Glib::ustring &name, bool left_gravity=true) |
Protected Member Functions | |
| Mark (const Glib::ustring& category) | |
| Mark (const Glib::ustring& name, const Glib::ustring& category) | |
Protected Member Functions inherited from Gtk::TextMark | |
| TextMark (bool left_gravity=true) | |
| TextMark (const Glib::ustring &name, bool left_gravity=true) | |
Related Symbols | |
(Note that these are not member symbols.) | |
| Glib::RefPtr< Gsv::Mark > | wrap (GtkSourceMark* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
|
noexcept |
|
overridenoexcept |
|
explicitprotected |
|
explicitprotected |
|
static |
Creates an anonymous text mark.
Add it to a buffer using Gtk::TextBuffer::add_mark(). Note that such marks cannot be retrieved by using Gtk::TextBuffer::get_mark(). Normally marks are created using the utility function Gsv::Buffer::create_source_mark().
| category | Is used to classify marks according to common characteristics (e.g. all the marks representing a bookmark could belong to the "bookmark" category, or all the marks representing a compilation error could belong to "error" category). |
|
static |
Creates a text mark.
Add it to a buffer using Gtk::TextBuffer::add_mark(). The mark can be retrieved by name by using Gtk::TextBuffer::get_mark(). Normally marks are created using the utility function Buffer::create_source_mark().
| category | Is used to classify marks according to common characteristics (e.g. all the marks representing a bookmark could belong to the "bookmark" category, or all the marks representing a compilation error could belong to "error" category). |
| name | Name of the Mark. |
| Glib::ustring Gsv::Mark::get_category | ( | ) | const |
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
| GtkSourceMark * Gsv::Mark::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| Glib::RefPtr< Gsv::Mark > Gsv::Mark::next | ( | ) |
| Glib::RefPtr< const Gsv::Mark > Gsv::Mark::next | ( | ) | const |
| Glib::RefPtr< Gsv::Mark > Gsv::Mark::next | ( | const Glib::ustring & | category | ) |
| Glib::RefPtr< const Gsv::Mark > Gsv::Mark::next | ( | const Glib::ustring & | category | ) | const |
| Glib::RefPtr< Gsv::Mark > Gsv::Mark::prev | ( | ) |
| Glib::RefPtr< const Gsv::Mark > Gsv::Mark::prev | ( | ) | const |
| Glib::RefPtr< Gsv::Mark > Gsv::Mark::prev | ( | const Glib::ustring & | category | ) |
| Glib::RefPtr< const Gsv::Mark > Gsv::Mark::prev | ( | const Glib::ustring & | category | ) | const |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > Gsv::Mark::property_category | ( | ) | const |
The mark category.
Default value: ""
|
A Glib::wrap() method for this object.
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |