GtkSourceTag

GtkSourceTag —

Synopsis


#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);

Object Hierarchy


  GObject
   +----GtkTextTag
         +----GtkSourceTag
               +----GtkSyntaxTag
               +----GtkPatternTag

  GObject
   +----GtkTextTag
         +----GtkSourceTag
               +----GtkSyntaxTag

  GObject
   +----GtkTextTag
         +----GtkSourceTag
               +----GtkPatternTag

Properties


  "id"                   gchararray            : Read / Write / Construct Only
  "tag-style"            GtkSourceTagStyle     : Read / Write

Description

Details

GtkSourceTag

typedef struct _GtkSourceTag GtkSourceTag;


GtkSourceTagClass

typedef struct _GtkSourceTagClass GtkSourceTagClass;


GtkSyntaxTag

typedef struct _GtkSyntaxTag GtkSyntaxTag;


GtkSyntaxTagClass

typedef struct _GtkSyntaxTagClass GtkSyntaxTagClass;


GtkPatternTag

typedef struct _GtkPatternTag GtkPatternTag;


GtkPatternTagClass

typedef struct _GtkPatternTagClass GtkPatternTagClass;


gtk_source_tag_get_style ()

GtkSourceTagStyle* gtk_source_tag_get_style (GtkSourceTag *tag);

tag :
Returns :

gtk_source_tag_set_style ()

void        gtk_source_tag_set_style        (GtkSourceTag *tag,
                                             const GtkSourceTagStyle *style);

tag :
style :

gtk_syntax_tag_new ()

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 :

gtk_pattern_tag_new ()

GtkTextTag* gtk_pattern_tag_new             (const gchar *id,
                                             const gchar *name,
                                             const gchar *pattern);

id :
name :
pattern :
Returns :

gtk_keyword_list_tag_new ()

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 :

gtk_block_comment_tag_new

#define gtk_block_comment_tag_new	gtk_syntax_tag_new


gtk_line_comment_tag_new ()

GtkTextTag* gtk_line_comment_tag_new        (const gchar *id,
                                             const gchar *name,
                                             const gchar *pattern_start);

id :
name :
pattern_start :
Returns :

gtk_string_tag_new ()

GtkTextTag* gtk_string_tag_new              (const gchar *id,
                                             const gchar *name,
                                             const gchar *pattern_start,
                                             const gchar *pattern_end,
                                             gboolean end_at_line_end);

id :
name :
pattern_start :
pattern_end :
end_at_line_end :
Returns :

Properties

The "id" property

  "id"                   gchararray            : Read / Write / Construct Only

ID used to refer to the source tag.

Default value: NULL


The "tag-style" property

  "tag-style"            GtkSourceTagStyle     : Read / Write

The style associated to the source tag.