GtkSourceTagStyle

GtkSourceTagStyle

Functions

Types and Values

Includes

#include <gtksourceview/gtksourcetagstyle.h>

Description

Functions

GTK_TYPE_SOURCE_TAG_STYLE

#define GTK_TYPE_SOURCE_TAG_STYLE     (gtk_source_tag_style_get_type ())


gtk_source_tag_style_get_type ()

GType
gtk_source_tag_style_get_type (void);

Retrieves the GType object which is associated with the GtkSourceTagStyle class.

Returns

the GType associated with GtkSourceTagStyle.


gtk_source_tag_style_new ()

GtkSourceTagStyle *
gtk_source_tag_style_new (void);

Creates a new tag style object.

Returns

a new GtkSourceTagStyle.


gtk_source_tag_style_copy ()

GtkSourceTagStyle *
gtk_source_tag_style_copy (const GtkSourceTagStyle *style);

Makes a copy of the given style .

Parameters

style

a GtkSourceTagStyle.

 

Returns

a new GtkSourceTagStyle.


gtk_source_tag_style_free ()

void
gtk_source_tag_style_free (GtkSourceTagStyle *style);

Frees the resources allocated by the given style .

Parameters

style

a GtkSourceTagStyle.

 

Types and Values

struct GtkSourceTagStyle

struct GtkSourceTagStyle {
	/* readonly */
	gboolean is_default;

	guint mask;
	
	GdkColor foreground;
	GdkColor background;
	
	gboolean italic;
	gboolean bold;
	gboolean underline;
	gboolean strikethrough;

	/* Reserved for future expansion */
	guint8 reserved[16];	
};


enum GtkSourceTagStyleMask

Members

GTK_SOURCE_TAG_STYLE_USE_BACKGROUND

   

GTK_SOURCE_TAG_STYLE_USE_FOREGROUND