Tag

Constructors

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

Creates a #GtkSourceTag. Configure the tag using object arguments, i.e. using gobject.object.ObjectWrap.set.

Members

Functions

self
Tag self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]
drawSpaces
bool drawSpaces [@property setter]

Set drawSpaces property.

drawSpaces
bool drawSpaces [@property getter]

Get drawSpaces property.

drawSpacesSet
bool drawSpacesSet [@property getter]

Get drawSpacesSet property.

drawSpacesSet
bool drawSpacesSet [@property setter]

Set drawSpacesSet property.

Static functions

_getGType
GType _getGType()
builder
TagGidBuilder builder()

Get builder for gtksource.tag.Tag

Inherited Members

From TextTag

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
TextTag self()

Returns this, for use in with statements.

builder
TextTagGidBuilder builder()

Get builder for gtk.text_tag.TextTag

accumulativeMargin
bool accumulativeMargin [@property getter]

Get accumulativeMargin property.

accumulativeMargin
bool accumulativeMargin [@property setter]

Set accumulativeMargin property.

background
string background [@property setter]
backgroundFullHeight
bool backgroundFullHeight [@property getter]
backgroundFullHeight
bool backgroundFullHeight [@property setter]
backgroundFullHeightSet
bool backgroundFullHeightSet [@property getter]
backgroundFullHeightSet
bool backgroundFullHeightSet [@property setter]
backgroundGdk
gdk.color.Color backgroundGdk [@property getter]

Get backgroundGdk property.

backgroundGdk
gdk.color.Color backgroundGdk [@property setter]

Set backgroundGdk property.

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]
direction
gtk.types.TextDirection direction [@property setter]
editable
bool editable [@property getter]
editable
bool editable [@property setter]
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]
family
string family [@property setter]
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]
fontDesc
pango.font_description.FontDescription fontDesc [@property setter]
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]
foregroundGdk
gdk.color.Color foregroundGdk [@property getter]

Get foregroundGdk property.

foregroundGdk
gdk.color.Color foregroundGdk [@property setter]

Set foregroundGdk 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]
indent
int indent [@property setter]
indentSet
bool indentSet [@property getter]
indentSet
bool indentSet [@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]
justification
gtk.types.Justification justification [@property setter]
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]
leftMargin
int leftMargin [@property setter]
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]
name
string name [@property getter]
paragraphBackground
string paragraphBackground [@property setter]

Set paragraphBackground property.

paragraphBackgroundGdk
gdk.color.Color paragraphBackgroundGdk [@property getter]

Get paragraphBackgroundGdk property.

paragraphBackgroundGdk
gdk.color.Color paragraphBackgroundGdk [@property setter]

Set paragraphBackgroundGdk 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]
pixelsAboveLines
int pixelsAboveLines [@property setter]
pixelsAboveLinesSet
bool pixelsAboveLinesSet [@property getter]
pixelsAboveLinesSet
bool pixelsAboveLinesSet [@property setter]
pixelsBelowLines
int pixelsBelowLines [@property getter]
pixelsBelowLines
int pixelsBelowLines [@property setter]
pixelsBelowLinesSet
bool pixelsBelowLinesSet [@property getter]
pixelsBelowLinesSet
bool pixelsBelowLinesSet [@property setter]
pixelsInsideWrap
int pixelsInsideWrap [@property getter]
pixelsInsideWrap
int pixelsInsideWrap [@property setter]
pixelsInsideWrapSet
bool pixelsInsideWrapSet [@property getter]
pixelsInsideWrapSet
bool pixelsInsideWrapSet [@property setter]
rightMargin
int rightMargin [@property getter]
rightMargin
int rightMargin [@property setter]
rightMarginSet
bool rightMarginSet [@property getter]
rightMarginSet
bool rightMarginSet [@property setter]
rise
int rise [@property getter]
rise
int rise [@property setter]
riseSet
bool riseSet [@property getter]
riseSet
bool riseSet [@property setter]
scale
double scale [@property getter]
scale
double scale [@property setter]
scaleSet
bool scaleSet [@property getter]
scaleSet
bool scaleSet [@property setter]
size
int size [@property getter]
size
int size [@property setter]
sizePoints
double sizePoints [@property getter]
sizePoints
double sizePoints [@property setter]
sizeSet
bool sizeSet [@property getter]
sizeSet
bool sizeSet [@property setter]
stretch
pango.types.Stretch stretch [@property getter]
stretch
pango.types.Stretch stretch [@property setter]
stretchSet
bool stretchSet [@property getter]
stretchSet
bool stretchSet [@property setter]
strikethrough
bool strikethrough [@property getter]
strikethrough
bool strikethrough [@property setter]
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]
style
pango.types.Style style [@property setter]
styleSet
bool styleSet [@property getter]
styleSet
bool styleSet [@property setter]
tabs
pango.tab_array.TabArray tabs [@property getter]
tabs
pango.tab_array.TabArray tabs [@property setter]
tabsSet
bool tabsSet [@property getter]
tabsSet
bool tabsSet [@property setter]
underline
pango.types.Underline underline [@property getter]
underline
pango.types.Underline underline [@property setter]
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]
variant
pango.types.Variant variant [@property setter]
variantSet
bool variantSet [@property getter]
variantSet
bool variantSet [@property setter]
weight
int weight [@property getter]
weight
int weight [@property setter]
weightSet
bool weightSet [@property getter]
weightSet
bool weightSet [@property setter]
wrapMode
gtk.types.WrapMode wrapMode [@property getter]
wrapMode
gtk.types.WrapMode wrapMode [@property setter]
wrapModeSet
bool wrapModeSet [@property getter]
wrapModeSet
bool wrapModeSet [@property setter]
changed
void changed(bool sizeChanged)

Emits the #GtkTextTagTable::tag-changed signal on the #GtkTextTagTable where the tag is included.

event
bool event(gobject.object.ObjectWrap eventObject, gdk.event.Event event, gtk.text_iter.TextIter iter)

Emits the “event” signal on the #GtkTextTag.

getPriority
int getPriority()

Get the tag priority.

setPriority
void setPriority(int priority)

Sets the priority of a #GtkTextTag. Valid priorities start at 0 and go to one less than gtk.text_tag_table.TextTagTable.getSize. Each tag in a table has a unique priority; setting the priority of one tag shifts the priorities of all the other tags in the table to maintain a unique priority for each tag. Higher priority tags “win” if two tags both set the same text attribute. When adding a tag to a tag table, it will be assigned the highest priority in the table by default; so normally the precedence of a set of tags is the order in which they were added to the table, or created with gtk.text_buffer.TextBuffer.createTag, which adds the tag to the buffer’s table automatically.

connectEvent
gulong connectEvent(T callback, Flag!"After" after)

Connect to Event signal.