Describes the text attributes supported
Value | Symbolic name | Description |
0 | Atk::TEXT_ATTR_INVALID | Invalid attribute |
1 | Atk::TEXT_ATTR_LEFT_MARGIN | The pixel width of the left margin |
2 | Atk::TEXT_ATTR_RIGHT_MARGIN | The pixel width of the right margin |
3 | Atk::TEXT_ATTR_INDENT | The number of pixels that the text is indented |
4 | Atk::TEXT_ATTR_INVISIBLE | Either "true" or "false" indicating whether text is visible or not |
5 | Atk::TEXT_ATTR_EDITABLE | Either "true" or "false" indicating whether text is editable or not |
6 | Atk::TEXT_ATTR_PIXELS_ABOVE_LINES | Pixels of blank space to leave above each newline-terminated line. |
7 | Atk::TEXT_ATTR_PIXELS_BELOW_LINES | Pixels of blank space to leave below each newline-terminated line. |
8 | Atk::TEXT_ATTR_PIXELS_INSIDE_WRAP | Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). |
9 | Atk::TEXT_ATTR_BG_FULL_HEIGHT | "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. |
10 | Atk::TEXT_ATTR_RISE | Number of pixels that the characters are risen above the baseline |
11 | Atk::TEXT_ATTR_UNDERLINE | "none", "single", "double" or "low" |
12 | Atk::TEXT_ATTR_STRIKETHROUGH | "true" or "false" whether the text is strikethrough |
13 | Atk::TEXT_ATTR_SIZE | The size of the characters. |
14 | Atk::TEXT_ATTR_SCALE | The scale of the characters. The value is a string representation of a double |
15 | Atk::TEXT_ATTR_WEIGHT | The weight of the characters. |
16 | Atk::TEXT_ATTR_LANGUAGE | The language used |
17 | Atk::TEXT_ATTR_FAMILY_NAME | The font family name |
18 | Atk::TEXT_ATTR_BG_COLOR | The background color. The value is an RGB value of the format "u,u,u" |
19 | Atk::TEXT_ATTR_FG_COLOR | The foreground color. The value is an RGB value of the format "u,u,u" |
20 | Atk::TEXT_ATTR_BG_STIPPLE | "true" if a GdkBitmap is set for stippling the background color. |
21 | Atk::TEXT_ATTR_FG_STIPPLE | "true" if a GdkBitmap is set for stippling the foreground color. |
22 | Atk::TEXT_ATTR_WRAP_MODE | The wrap mode of the text, if any. Values are "none", "char" or "word" |
23 | Atk::TEXT_ATTR_DIRECTION | The direction of the text, if set. Values are "none", "ltr" or "rtl" |
24 | Atk::TEXT_ATTR_JUSTIFICATION | The justification of the text, if set. Values are "left", "right", "center" or "fill" |
25 | Atk::TEXT_ATTR_STRETCH | 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" |
26 | Atk::TEXT_ATTR_VARIANT | The capitalization variant of the text, if set. Values are "normal" or "small_caps" |
27 | Atk::TEXT_ATTR_STYLE | The slant style of the text, if set. Values are "normal", "oblique" or "italic" |
28 | Atk::TEXT_ATTR_LAST_DEFINED | not a valid text attribute, used for finding end of enumeration |