GtkSourceTagStyle

GtkSourceTagStyle —

Synopsis


#include <gtksourceview/gtksourcetagstyle.h>


struct      GtkSourceTagStyle;
enum        GtkSourceTagStyleMask;
#define     GTK_TYPE_SOURCE_TAG_STYLE
GType       gtk_source_tag_style_get_type   (void);
GtkSourceTagStyle* gtk_source_tag_style_new (void);
GtkSourceTagStyle* gtk_source_tag_style_copy
                                            (const GtkSourceTagStyle *style);
void        gtk_source_tag_style_free       (GtkSourceTagStyle *style);

Description

Details

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

typedef enum {
	GTK_SOURCE_TAG_STYLE_USE_BACKGROUND = 1 << 0,	/*< nick=use_background >*/
	GTK_SOURCE_TAG_STYLE_USE_FOREGROUND = 1 << 1	/*< nick=use_foreground >*/
} GtkSourceTagStyleMask; 


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

Returns :

gtk_source_tag_style_new ()

GtkSourceTagStyle* gtk_source_tag_style_new (void);

Returns :

gtk_source_tag_style_copy ()

GtkSourceTagStyle* gtk_source_tag_style_copy
                                            (const GtkSourceTagStyle *style);

style :
Returns :

gtk_source_tag_style_free ()

void        gtk_source_tag_style_free       (GtkSourceTagStyle *style);

style :