| GtkSourceView Reference Manual |
|---|
GtkSourceTagGtkSourceTag — |
#include <gtksourceview/gtksourcetag.h>
GtkSourceTag;
GtkSourceTagClass;
GtkSyntaxTag;
GtkSyntaxTagClass;
GtkPatternTag;
GtkPatternTagClass;
GtkSourceTagStyle* gtk_source_tag_get_style (GtkSourceTag *tag);
void gtk_source_tag_set_style (GtkSourceTag *tag,
const GtkSourceTagStyle *style);
GtkTextTag* gtk_syntax_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern_start,
const gchar *pattern_end);
GtkTextTag* gtk_pattern_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern);
GtkTextTag* gtk_keyword_list_tag_new (const gchar *id,
const gchar *name,
const GSList *keywords,
gboolean case_sensitive,
gboolean match_empty_string_at_beginning,
gboolean match_empty_string_at_end,
const gchar *beginning_regex,
const gchar *end_regex);
#define gtk_block_comment_tag_new
GtkTextTag* gtk_line_comment_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern_start);
GtkTextTag* gtk_string_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern_start,
const gchar *pattern_end,
gboolean end_at_line_end);
GObject
+----GtkTextTag
+----GtkSourceTag
+----GtkSyntaxTag
+----GtkPatternTag
GObject
+----GtkTextTag
+----GtkSourceTag
+----GtkSyntaxTag
GObject
+----GtkTextTag
+----GtkSourceTag
+----GtkPatternTag
"id" gchararray : Read / Write / Construct Only "tag-style" GtkSourceTagStyle : Read / Write
GtkSourceTagStyle* gtk_source_tag_get_style (GtkSourceTag *tag);
| tag : | |
| Returns : |
void gtk_source_tag_set_style (GtkSourceTag *tag, const GtkSourceTagStyle *style);
| tag : | |
| style : |
GtkTextTag* gtk_syntax_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern_start,
const gchar *pattern_end);
| id : | |
| name : | |
| pattern_start : | |
| pattern_end : | |
| Returns : |
GtkTextTag* gtk_pattern_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern);
| id : | |
| name : | |
| pattern : | |
| Returns : |
GtkTextTag* gtk_keyword_list_tag_new (const gchar *id,
const gchar *name,
const GSList *keywords,
gboolean case_sensitive,
gboolean match_empty_string_at_beginning,
gboolean match_empty_string_at_end,
const gchar *beginning_regex,
const gchar *end_regex);
| id : | |
| name : | |
| keywords : | |
| case_sensitive : | |
| match_empty_string_at_beginning : | |
| match_empty_string_at_end : | |
| beginning_regex : | |
| end_regex : | |
| Returns : |
GtkTextTag* gtk_line_comment_tag_new (const gchar *id,
const gchar *name,
const gchar *pattern_start);
| id : | |
| name : | |
| pattern_start : | |
| Returns : |
"id" gchararray : Read / Write / Construct Only
ID used to refer to the source tag.
Default value: NULL
"tag-style" GtkSourceTagStyle : Read / Write
The style associated to the source tag.
| << GtkSourceStyleScheme | GtkSourceTagTable >> |