GtkSourceView Reference Manual | ||||
---|---|---|---|---|
#include <gtksourceview/gtksourcemarker.h> typedef GtkSourceMarker; void gtk_source_marker_set_marker_type (GtkSourceMarker *marker, const gchar *type); gchar* gtk_source_marker_get_marker_type (GtkSourceMarker *marker); gint gtk_source_marker_get_line (GtkSourceMarker *marker); const gchar* gtk_source_marker_get_name (GtkSourceMarker *marker); GtkSourceBuffer* gtk_source_marker_get_buffer (GtkSourceMarker *marker); GtkSourceMarker* gtk_source_marker_next (GtkSourceMarker *marker); GtkSourceMarker* gtk_source_marker_prev (GtkSourceMarker *marker);
void gtk_source_marker_set_marker_type (GtkSourceMarker *marker, const gchar *type);
marker : |
|
type : |
gchar* gtk_source_marker_get_marker_type (GtkSourceMarker *marker);
Gets the marker type of this marker
.
marker : |
a GtkSourceMarker. |
Returns : | the marker type. |
gint gtk_source_marker_get_line (GtkSourceMarker *marker);
Gets the line number of this marker
.
marker : |
a GtkSourceMarker. |
Returns : | the line number. |
const gchar* gtk_source_marker_get_name (GtkSourceMarker *marker);
Gets the name of this marker
.
marker : |
a GtkSourceMarker. |
Returns : | the name. |
GtkSourceBuffer* gtk_source_marker_get_buffer (GtkSourceMarker *marker);
Gets the buffer associated with this marker
.
marker : |
a GtkSourceMarker. |
Returns : | the GtkSourceBuffer. |
GtkSourceMarker* gtk_source_marker_next (GtkSourceMarker *marker);
Gets the next marker after marker
.
marker : |
a GtkSourceMarker. |
Returns : | a GtkSourceMarker. |
GtkSourceMarker* gtk_source_marker_prev (GtkSourceMarker *marker);
Gets the previous marker before marker
.
marker : |
a GtkSourceMarker. |
Returns : | a GtkSourceMarker. |