Enumeration (GI Enum)

Atk-1.0AtkTextAttribute

Describes the text attributes supported

Index

Enumeration Members

BG_COLOR: number

The background color. The value is an RGB value of the format "%u,%u,%u"

BG_FULL_HEIGHT: number

"true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character.

BG_STIPPLE: number

"true" if a GdkBitmap is set for stippling the background color.

DIRECTION: number

The direction of the text, if set. Values are "none", "ltr" or "rtl"

EDITABLE: number

Either "true" or "false" indicating whether text is editable or not.

FAMILY_NAME: number

The font family name

FG_COLOR: number

The foreground color. The value is an RGB value of the format "%u,%u,%u"

FG_STIPPLE: number

"true" if a GdkBitmap is set for stippling the foreground color.

INDENT: number

The number of pixels that the text is indented

INVALID: number

Invalid attribute, like bad spelling or grammar.

INVISIBLE: number

Either "true" or "false" indicating whether text is visible or not.

JUSTIFICATION: number

The justification of the text, if set. Values are "left", "right", "center" or "fill"

LANGUAGE: number

The language used

LAST_DEFINED: number

not a valid text attribute, used for finding end of enumeration

LEFT_MARGIN: number

The pixel width of the left margin

MARK: number

A run of content that is marked or highlighted, such as for reference purposes, or to call it out as having a special purpose that is clear from context. This is similar to ATK_ROLE_MARK, but this is used where it may apply to a partial span of text in an object, rather than to an entire object. Values are "true" or "false".

PIXELS_ABOVE_LINES: number

Pixels of blank space to leave above each newline-terminated line.

PIXELS_BELOW_LINES: number

Pixels of blank space to leave below each newline-terminated line.

PIXELS_INSIDE_WRAP: number

Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph).

RIGHT_MARGIN: number

The pixel width of the right margin

RISE: number

Number of pixels that the characters are risen above the baseline. See also ATK_TEXT_ATTR_TEXT_POSITION.

SCALE: number

The scale of the characters. The value is a string representation of a double

SIZE: number

The size of the characters in points. eg: 10

STRETCH: number

The stretch of the text, if set. Values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded"

STRIKETHROUGH: number

"true" or "false" whether the text is strikethrough

STYLE: number

The slant style of the text, if set. Values are "normal", "oblique" or "italic"

TEXT_POSITION: number

The vertical position with respect to the baseline. Values are "baseline", "super", or "sub". Note that a super or sub text attribute refers to position with respect to the baseline of the prior character.

UNDERLINE: number

"none", "single", "double", "low", or "error"

VARIANT: number

The capitalization variant of the text, if set. Values are "normal" or "small_caps"

WEIGHT: number

The weight of the characters.

WRAP_MODE: number

The wrap mode of the text, if any. Values are "none", "char", "word", or "word_char".

Variables

$gtype