Tag

A tag that can be applied to text in a class@Buffer.

gtksource.tag.Tag is a subclass of gtk.text_tag.TextTag that adds properties useful for the GtkSourceView library.

If, for a certain tag, gtk.text_tag.TextTag is sufficient, it's better that you create a gtk.text_tag.TextTag, not a class@Tag.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(string name)

Creates a gtksource.tag.Tag.

Members

Functions

self
Tag self()

Returns this, for use in with statements.

Properties

drawSpaces
bool drawSpaces [@property getter]

Get drawSpaces property.

drawSpaces
bool drawSpaces [@property setter]

Set drawSpaces property.

drawSpacesSet
bool drawSpacesSet [@property getter]

Get drawSpacesSet property.

drawSpacesSet
bool drawSpacesSet [@property setter]

Set drawSpacesSet property.

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From TextTag

getGType
GType getGType()
gType
GType gType [@property getter]
self
TextTag self()

Returns this, for use in with statements.

accumulativeMargin
bool accumulativeMargin [@property getter]

Get accumulativeMargin property.

accumulativeMargin
bool accumulativeMargin [@property setter]

Set accumulativeMargin property.

allowBreaks
bool allowBreaks [@property getter]

Get allowBreaks property.

allowBreaks
bool allowBreaks [@property setter]

Set allowBreaks property.

allowBreaksSet
bool allowBreaksSet [@property getter]
allowBreaksSet
bool allowBreaksSet [@property setter]
background
string background [@property setter]

Set background property.

backgroundFullHeight
bool backgroundFullHeight [@property getter]

Get backgroundFullHeight property.

backgroundFullHeight
bool backgroundFullHeight [@property setter]

Set backgroundFullHeight property.

backgroundFullHeightSet
bool backgroundFullHeightSet [@property getter]
backgroundFullHeightSet
bool backgroundFullHeightSet [@property setter]
backgroundRgba
gdk.rgba.RGBA backgroundRgba [@property getter]

Get backgroundRgba property.

backgroundRgba
gdk.rgba.RGBA backgroundRgba [@property setter]

Set backgroundRgba property.

backgroundSet
bool backgroundSet [@property getter]
backgroundSet
bool backgroundSet [@property setter]
direction
gtk.types.TextDirection direction [@property getter]

Get direction property.

direction
gtk.types.TextDirection direction [@property setter]

Set direction property.

editable
bool editable [@property getter]

Get editable property.

editable
bool editable [@property setter]

Set editable property.

editableSet
bool editableSet [@property getter]
editableSet
bool editableSet [@property setter]
fallback
bool fallback [@property getter]

Get fallback property.

fallback
bool fallback [@property setter]

Set fallback property.

fallbackSet
bool fallbackSet [@property getter]
fallbackSet
bool fallbackSet [@property setter]
family
string family [@property getter]

Get family property.

family
string family [@property setter]

Set family property.

familySet
bool familySet [@property getter]
familySet
bool familySet [@property setter]
font
string font [@property getter]

Get font property.

font
string font [@property setter]

Set font property.

fontDesc
pango.font_description.FontDescription fontDesc [@property getter]

Get fontDesc property.

fontDesc
pango.font_description.FontDescription fontDesc [@property setter]

Set fontDesc property.

fontFeatures
string fontFeatures [@property getter]

Get fontFeatures property.

fontFeatures
string fontFeatures [@property setter]

Set fontFeatures property.

fontFeaturesSet
bool fontFeaturesSet [@property getter]
fontFeaturesSet
bool fontFeaturesSet [@property setter]
foreground
string foreground [@property setter]

Set foreground property.

foregroundRgba
gdk.rgba.RGBA foregroundRgba [@property getter]

Get foregroundRgba property.

foregroundRgba
gdk.rgba.RGBA foregroundRgba [@property setter]

Set foregroundRgba property.

foregroundSet
bool foregroundSet [@property getter]
foregroundSet
bool foregroundSet [@property setter]
indent
int indent [@property getter]

Get indent property.

indent
int indent [@property setter]

Set indent property.

indentSet
bool indentSet [@property getter]
indentSet
bool indentSet [@property setter]
insertHyphens
bool insertHyphens [@property getter]

Get insertHyphens property.

insertHyphens
bool insertHyphens [@property setter]

Set insertHyphens property.

insertHyphensSet
bool insertHyphensSet [@property getter]
insertHyphensSet
bool insertHyphensSet [@property setter]
invisible
bool invisible [@property getter]

Get invisible property.

invisible
bool invisible [@property setter]

Set invisible property.

invisibleSet
bool invisibleSet [@property getter]
invisibleSet
bool invisibleSet [@property setter]
justification
gtk.types.Justification justification [@property getter]

Get justification property.

justification
gtk.types.Justification justification [@property setter]

Set justification property.

justificationSet
bool justificationSet [@property getter]
justificationSet
bool justificationSet [@property setter]
language
string language [@property getter]

Get language property.

language
string language [@property setter]

Set language property.

languageSet
bool languageSet [@property getter]
languageSet
bool languageSet [@property setter]
leftMargin
int leftMargin [@property getter]

Get leftMargin property.

leftMargin
int leftMargin [@property setter]

Set leftMargin property.

leftMarginSet
bool leftMarginSet [@property getter]
leftMarginSet
bool leftMarginSet [@property setter]
letterSpacing
int letterSpacing [@property getter]

Get letterSpacing property.

letterSpacing
int letterSpacing [@property setter]

Set letterSpacing property.

letterSpacingSet
bool letterSpacingSet [@property getter]
letterSpacingSet
bool letterSpacingSet [@property setter]
lineHeight
float lineHeight [@property getter]

Get lineHeight property.

lineHeight
float lineHeight [@property setter]

Set lineHeight property.

lineHeightSet
bool lineHeightSet [@property getter]
lineHeightSet
bool lineHeightSet [@property setter]
overline
pango.types.Overline overline [@property getter]

Get overline property.

overline
pango.types.Overline overline [@property setter]

Set overline property.

overlineRgba
gdk.rgba.RGBA overlineRgba [@property getter]

Get overlineRgba property.

overlineRgba
gdk.rgba.RGBA overlineRgba [@property setter]

Set overlineRgba property.

overlineRgbaSet
bool overlineRgbaSet [@property getter]
overlineRgbaSet
bool overlineRgbaSet [@property setter]
overlineSet
bool overlineSet [@property getter]
overlineSet
bool overlineSet [@property setter]
paragraphBackground
string paragraphBackground [@property setter]

Set paragraphBackground property.

paragraphBackgroundRgba
gdk.rgba.RGBA paragraphBackgroundRgba [@property getter]

Get paragraphBackgroundRgba property.

paragraphBackgroundRgba
gdk.rgba.RGBA paragraphBackgroundRgba [@property setter]

Set paragraphBackgroundRgba property.

paragraphBackgroundSet
bool paragraphBackgroundSet [@property getter]
paragraphBackgroundSet
bool paragraphBackgroundSet [@property setter]
pixelsAboveLines
int pixelsAboveLines [@property getter]

Get pixelsAboveLines property.

pixelsAboveLines
int pixelsAboveLines [@property setter]

Set pixelsAboveLines property.

pixelsAboveLinesSet
bool pixelsAboveLinesSet [@property getter]
pixelsAboveLinesSet
bool pixelsAboveLinesSet [@property setter]
pixelsBelowLines
int pixelsBelowLines [@property getter]

Get pixelsBelowLines property.

pixelsBelowLines
int pixelsBelowLines [@property setter]

Set pixelsBelowLines property.

pixelsBelowLinesSet
bool pixelsBelowLinesSet [@property getter]
pixelsBelowLinesSet
bool pixelsBelowLinesSet [@property setter]
pixelsInsideWrap
int pixelsInsideWrap [@property getter]

Get pixelsInsideWrap property.

pixelsInsideWrap
int pixelsInsideWrap [@property setter]

Set pixelsInsideWrap property.

pixelsInsideWrapSet
bool pixelsInsideWrapSet [@property getter]
pixelsInsideWrapSet
bool pixelsInsideWrapSet [@property setter]
rightMargin
int rightMargin [@property getter]

Get rightMargin property.

rightMargin
int rightMargin [@property setter]

Set rightMargin property.

rightMarginSet
bool rightMarginSet [@property getter]
rightMarginSet
bool rightMarginSet [@property setter]
rise
int rise [@property getter]

Get rise property.

rise
int rise [@property setter]

Set rise property.

riseSet
bool riseSet [@property getter]
riseSet
bool riseSet [@property setter]
scale
double scale [@property getter]

Get scale property.

scale
double scale [@property setter]

Set scale property.

scaleSet
bool scaleSet [@property getter]
scaleSet
bool scaleSet [@property setter]
sentence
bool sentence [@property getter]

Get sentence property.

sentence
bool sentence [@property setter]

Set sentence property.

sentenceSet
bool sentenceSet [@property getter]
sentenceSet
bool sentenceSet [@property setter]
showSpaces
pango.types.ShowFlags showSpaces [@property getter]

Get showSpaces property.

showSpaces
pango.types.ShowFlags showSpaces [@property setter]

Set showSpaces property.

showSpacesSet
bool showSpacesSet [@property getter]
showSpacesSet
bool showSpacesSet [@property setter]
size
int size [@property getter]

Get size property.

size
int size [@property setter]

Set size property.

sizePoints
double sizePoints [@property getter]

Get sizePoints property.

sizePoints
double sizePoints [@property setter]

Set sizePoints property.

sizeSet
bool sizeSet [@property getter]
sizeSet
bool sizeSet [@property setter]
stretch
pango.types.Stretch stretch [@property getter]

Get stretch property.

stretch
pango.types.Stretch stretch [@property setter]

Set stretch property.

stretchSet
bool stretchSet [@property getter]
stretchSet
bool stretchSet [@property setter]
strikethrough
bool strikethrough [@property getter]

Get strikethrough property.

strikethrough
bool strikethrough [@property setter]

Set strikethrough property.

strikethroughRgba
gdk.rgba.RGBA strikethroughRgba [@property getter]

Get strikethroughRgba property.

strikethroughRgba
gdk.rgba.RGBA strikethroughRgba [@property setter]

Set strikethroughRgba property.

strikethroughRgbaSet
bool strikethroughRgbaSet [@property getter]

Get strikethroughRgbaSet property.

strikethroughRgbaSet
bool strikethroughRgbaSet [@property setter]

Set strikethroughRgbaSet property.

strikethroughSet
bool strikethroughSet [@property getter]
strikethroughSet
bool strikethroughSet [@property setter]
style
pango.types.Style style [@property getter]

Get style property.

style
pango.types.Style style [@property setter]

Set style property.

styleSet
bool styleSet [@property getter]
styleSet
bool styleSet [@property setter]
tabs
pango.tab_array.TabArray tabs [@property getter]

Get tabs property.

tabs
pango.tab_array.TabArray tabs [@property setter]

Set tabs property.

tabsSet
bool tabsSet [@property getter]
tabsSet
bool tabsSet [@property setter]
textTransform
pango.types.TextTransform textTransform [@property getter]

Get textTransform property.

textTransform
pango.types.TextTransform textTransform [@property setter]

Set textTransform property.

textTransformSet
bool textTransformSet [@property getter]
textTransformSet
bool textTransformSet [@property setter]
underline
pango.types.Underline underline [@property getter]

Get underline property.

underline
pango.types.Underline underline [@property setter]

Set underline property.

underlineRgba
gdk.rgba.RGBA underlineRgba [@property getter]

Get underlineRgba property.

underlineRgba
gdk.rgba.RGBA underlineRgba [@property setter]

Set underlineRgba property.

underlineRgbaSet
bool underlineRgbaSet [@property getter]

Get underlineRgbaSet property.

underlineRgbaSet
bool underlineRgbaSet [@property setter]

Set underlineRgbaSet property.

underlineSet
bool underlineSet [@property getter]
underlineSet
bool underlineSet [@property setter]
variant
pango.types.Variant variant [@property getter]

Get variant property.

variant
pango.types.Variant variant [@property setter]

Set variant property.

variantSet
bool variantSet [@property getter]
variantSet
bool variantSet [@property setter]
weight
int weight [@property getter]

Get weight property.

weight
int weight [@property setter]

Set weight property.

weightSet
bool weightSet [@property getter]
weightSet
bool weightSet [@property setter]
word
bool word [@property getter]

Get word property.

word
bool word [@property setter]

Set word property.

wordSet
bool wordSet [@property getter]
wordSet
bool wordSet [@property setter]
wrapMode
gtk.types.WrapMode wrapMode [@property getter]

Get wrapMode property.

wrapMode
gtk.types.WrapMode wrapMode [@property setter]

Set wrapMode property.

wrapModeSet
bool wrapModeSet [@property getter]
wrapModeSet
bool wrapModeSet [@property setter]
changed
void changed(bool sizeChanged)

Emits the signalGtk.TextTagTable::tag-changed signal on the gtk.text_tag_table.TextTagTable where the tag is included.

getPriority
int getPriority()

Get the tag priority.

setPriority
void setPriority(int priority)

Sets the priority of a gtk.text_tag.TextTag.