AtkTextAttribute

Describes the text attributes supported ATK_TEXT_ATTR_INVALID Invalid attribute ATK_TEXT_ATTR_LEFT_MARGIN The pixel width of the left margin ATK_TEXT_ATTR_RIGHT_MARGIN The pixel width of the right margin ATK_TEXT_ATTR_INDENT The number of pixels that the text is indented ATK_TEXT_ATTR_INVISIBLE Either "true" or "false" indicating whether text is visible or not ATK_TEXT_ATTR_EDITABLE Either "true" or "false" indicating whether text is editable or not ATK_TEXT_ATTR_PIXELS_ABOVE_LINES Pixels of blank space to leave above each newline-terminated line. ATK_TEXT_ATTR_PIXELS_BELOW_LINES Pixels of blank space to leave below each newline-terminated line. ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). 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. ATK_TEXT_ATTR_RISE Number of pixels that the characters are risen above the baseline ATK_TEXT_ATTR_UNDERLINE "none", "single", "double", "low", or "error" ATK_TEXT_ATTR_STRIKETHROUGH "true" or "false" whether the text is strikethrough ATK_TEXT_ATTR_SIZE The size of the characters. ATK_TEXT_ATTR_SCALE The scale of the characters. The value is a string representation of a double ATK_TEXT_ATTR_WEIGHT The weight of the characters. ATK_TEXT_ATTR_LANGUAGE The language used ATK_TEXT_ATTR_FAMILY_NAME The font family name ATK_TEXT_ATTR_BG_COLOR The background color. The value is an RGB value of the format "u,u,u" ATK_TEXT_ATTR_FG_COLOR The foreground color. The value is an RGB value of the format "u,u,u" ATK_TEXT_ATTR_BG_STIPPLE "true" if a GdkBitmap is set for stippling the background color. ATK_TEXT_ATTR_FG_STIPPLE "true" if a GdkBitmap is set for stippling the foreground color. ATK_TEXT_ATTR_WRAP_MODE The wrap mode of the text, if any. Values are "none", "char", "word", or "word_char". ATK_TEXT_ATTR_DIRECTION The direction of the text, if set. Values are "none", "ltr" or "rtl" ATK_TEXT_ATTR_JUSTIFICATION The justification of the text, if set. Values are "left", "right", "center" or "fill" 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" ATK_TEXT_ATTR_VARIANT The capitalization variant of the text, if set. Values are "normal" or "small_caps" ATK_TEXT_ATTR_STYLE The slant style of the text, if set. Values are "normal", "oblique" or "italic" ATK_TEXT_ATTR_LAST_DEFINED not a valid text attribute, used for finding end of enumeration

Values

ValueMeaning
INVALID0
LEFT_MARGIN
RIGHT_MARGIN
INDENT
INVISIBLE
EDITABLE
PIXELS_ABOVE_LINES
PIXELS_BELOW_LINES
PIXELS_INSIDE_WRAP
BG_FULL_HEIGHT
RISE
UNDERLINE
STRIKETHROUGH
SIZE
SCALE
WEIGHT
LANGUAGE
FAMILY_NAME
BG_COLOR
FG_COLOR
BG_STIPPLE
FG_STIPPLE
WRAP_MODE
DIRECTION
JUSTIFICATION
STRETCH
VARIANT
STYLE
LAST_DEFINED

Meta