TextAttributes

Using #GtkTextAttributes directly should rarely be necessary. It’s primarily useful with gtk.text_iter.TextIter.getAttributes. As with most GTK+ structs, the fields in this struct should only be read, never modified directly.

class TextAttributes : Boxed {}

Constructors

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

Creates a #GtkTextAttributes, which describes a set of properties on some text.

Members

Functions

_cPtr
void* _cPtr(Flag!"Dup" dup)
copy
gtk.text_attributes.TextAttributes copy()

Copies src and returns a new #GtkTextAttributes.

copyValues
void copyValues(gtk.text_attributes.TextAttributes dest)

Copies the values from src to dest so that dest has the same values as src. Frees existing values in dest.

self
TextAttributes self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]
appearance
gtk.text_appearance.TextAppearance appearance [@property getter]

Get appearance field.

bgFullHeight
uint bgFullHeight [@property getter]

Get bgFullHeight field.

bgFullHeight
uint bgFullHeight [@property setter]

Set bgFullHeight field.

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

Get direction field.

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

Set direction field.

editable
uint editable [@property getter]

Get editable field.

editable
uint editable [@property setter]

Set editable field.

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

Get font field.

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

Set font field.

fontScale
double fontScale [@property getter]

Get fontScale field.

fontScale
double fontScale [@property setter]

Set fontScale field.

indent
int indent [@property getter]

Get indent field.

indent
int indent [@property setter]

Set indent field.

invisible
uint invisible [@property getter]

Get invisible field.

invisible
uint invisible [@property setter]

Set invisible field.

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

Get justification field.

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

Set justification field.

language
pango.language.Language language [@property getter]

Get language field.

language
pango.language.Language language [@property setter]

Set language field.

leftMargin
int leftMargin [@property getter]

Get leftMargin field.

leftMargin
int leftMargin [@property setter]

Set leftMargin field.

letterSpacing
int letterSpacing [@property getter]

Get letterSpacing field.

letterSpacing
int letterSpacing [@property setter]

Set letterSpacing field.

noFallback
uint noFallback [@property getter]

Get noFallback field.

noFallback
uint noFallback [@property setter]

Set noFallback field.

pixelsAboveLines
int pixelsAboveLines [@property getter]

Get pixelsAboveLines field.

pixelsAboveLines
int pixelsAboveLines [@property setter]

Set pixelsAboveLines field.

pixelsBelowLines
int pixelsBelowLines [@property getter]

Get pixelsBelowLines field.

pixelsBelowLines
int pixelsBelowLines [@property setter]

Set pixelsBelowLines field.

pixelsInsideWrap
int pixelsInsideWrap [@property getter]

Get pixelsInsideWrap field.

pixelsInsideWrap
int pixelsInsideWrap [@property setter]

Set pixelsInsideWrap field.

rightMargin
int rightMargin [@property getter]

Get rightMargin field.

rightMargin
int rightMargin [@property setter]

Set rightMargin field.

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

Get tabs field.

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

Set tabs field.

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

Get wrapMode field.

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

Set wrapMode field.

Static functions

_getGType
GType _getGType()

Inherited Members

From Boxed

_cInstancePtr
void* _cInstancePtr;

Pointer to the C boxed value

_getGType
GType _getGType()

Get the GType of this boxed type.

_gType
GType _gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

boxCopy
void* boxCopy()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.