TextAttribute
Description:
[ CCode ( cprefix = "ATK_TEXT_ATTR_" , type_id = "atk_text_attribute_get_type ()" ) ]
public enum TextAttribute
public enum TextAttribute
Describes the text attributes supported
Namespace: Atk
Package: atk
Content:
Enum values:
- BG_COLOR - The background color.
- 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.
- BG_STIPPLE - "true" if a
GdkBitmap
is set for stippling the background color. - DIRECTION - The direction of the text, if set.
- EDITABLE - Either "true" or "false" indicating whether text is editable or not
- FAMILY_NAME - The font family name
- FG_COLOR - The foreground color.
- FG_STIPPLE - "true" if a
GdkBitmap
is set for stippling the foreground color. - INDENT - The number of pixels that the text is indented
- INVALID - Invalid attribute, like bad spelling or grammar.
- INVISIBLE - Either "true" or "false" indicating whether text is visible or not
- JUSTIFICATION - The justification of the text, if set.
- LANGUAGE - The language used
- LAST_DEFINED - not a valid text attribute, used for finding end of enumeration
- LEFT_MARGIN - The pixel width of the left margin
- PIXELS_ABOVE_LINES - Pixels of blank space to leave above each newline-terminated line.
- PIXELS_BELOW_LINES - Pixels of blank space to leave below each newline-terminated line.
- PIXELS_INSIDE_WRAP - Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph).
- RIGHT_MARGIN - The pixel width of the right margin
- RISE - Number of pixels that the characters are risen above the baseline.
- SCALE - The scale of the characters.
- SIZE - The size of the characters in points.
- STRETCH - The stretch of the text, if set.
- STRIKETHROUGH - "true" or "false" whether the text is strikethrough
- STYLE - The slant style of the text, if set.
- TEXT_POSITION - The vertical position with respect to the baseline.
- UNDERLINE - "none", "single", "double", "low", or "error"
- VARIANT - The capitalization variant of the text, if set.
- WEIGHT - The weight of the characters.
- WRAP_MODE - The wrap mode of the text, if any.
Static methods:
- public static TextAttribute for_name (string name)
Get the TextAttribute type corresponding to a text attribute name.
- public static TextAttribute register (string name)
Associate
name
with a new TextAttribute