| Top |
| GtkSourceTagStyle * | gtk_source_tag_get_style () |
| void | gtk_source_tag_set_style () |
| GtkTextTag * | gtk_syntax_tag_new () |
| GtkTextTag * | gtk_pattern_tag_new () |
| GtkTextTag * | gtk_keyword_list_tag_new () |
| GtkTextTag * | gtk_line_comment_tag_new () |
| GtkTextTag * | gtk_string_tag_new () |
GtkSourceTagStyle *
gtk_source_tag_get_style (GtkSourceTag *tag);
Gets the style associated with the given tag
.
void gtk_source_tag_set_style (GtkSourceTag *tag,const GtkSourceTagStyle *style);
Associates a given style
with the given tag
.
GtkTextTag * gtk_syntax_tag_new (const gchar *id,const gchar *name,const gchar *pattern_start,const gchar *pattern_end);
Creates a new syntax tag object with the provided arguments.
GtkTextTag * gtk_pattern_tag_new (const gchar *id,const gchar *name,const gchar *pattern);
Creates a new pattern tag object with the provided arguments.
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);
Creates a new keyword list tag object with the provided arguments.
id |
the ID for the tag. |
|
name |
the name of the tag. |
|
keywords |
a list of keywords. |
|
case_sensitive |
whether the tag should be case sensitive. |
|
match_empty_string_at_beginning |
whether the tag should match empty string at the beginning. |
|
match_empty_string_at_end |
whether the tag should match empty string at the end. |
|
beginning_regex |
the beginning regular expression. |
|
end_regex |
the ending regular expression. |
GtkTextTag * gtk_line_comment_tag_new (const gchar *id,const gchar *name,const gchar *pattern_start);
Creates a new line comment tag object with the provided arguments.
GtkTextTag * gtk_string_tag_new (const gchar *id,const gchar *name,const gchar *pattern_start,const gchar *pattern_end,gboolean end_at_line_end);
Creates a new string tag object with the provided arguments.
“id” property “id” gchar *
ID used to refer to the source tag.
Flags: Read / Write / Construct Only
Default value: NULL
“tag-style” property“tag-style” GtkSourceTagStyle *
The style associated with the source tag.
Flags: Read / Write