AtkTextAttribute

Describes the text attributes supported

Values

ValueMeaning
INVALID0

Invalid attribute, like bad spelling or grammar.

LEFT_MARGIN1

The pixel width of the left margin

RIGHT_MARGIN2

The pixel width of the right margin

INDENT3

The number of pixels that the text is indented

INVISIBLE4

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

EDITABLE5

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

PIXELS_ABOVE_LINES6

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

PIXELS_BELOW_LINES7

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

PIXELS_INSIDE_WRAP8

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

BG_FULL_HEIGHT9

"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.

RISE10

Number of pixels that the characters are risen above the baseline

UNDERLINE11

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

STRIKETHROUGH12

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

SIZE13

The size of the characters in points. eg: 10

SCALE14

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

WEIGHT15

The weight of the characters.

LANGUAGE16

The language used

FAMILY_NAME17

The font family name

BG_COLOR18

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

FG_COLOR19

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

BG_STIPPLE20

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

FG_STIPPLE21

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

WRAP_MODE22

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

DIRECTION23

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

JUSTIFICATION24

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

STRETCH25

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"

VARIANT26

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

STYLE27

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

LAST_DEFINED28

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