Enumeration (GI Enum)

Atk-1.0AtkTextAttribute

Describes the text attributes supported

Index
BG_COLOR: 18

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

BG_FULL_HEIGHT: 9

"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: 20

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

DIRECTION: 23

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

EDITABLE: 5

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

FAMILY_NAME: 17

The font family name

FG_COLOR: 19

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

FG_STIPPLE: 21

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

INDENT: 3

The number of pixels that the text is indented

INVALID: 0

Invalid attribute, like bad spelling or grammar.

INVISIBLE: 4

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

JUSTIFICATION: 24

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

LANGUAGE: 16

The language used

LAST_DEFINED: 30

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

LEFT_MARGIN: 1

The pixel width of the left margin

MARK: 29

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

2.60

PIXELS_ABOVE_LINES: 6

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

PIXELS_BELOW_LINES: 7

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

PIXELS_INSIDE_WRAP: 8

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

RIGHT_MARGIN: 2

The pixel width of the right margin

RISE: 10

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

SCALE: 14

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

SIZE: 13

The size of the characters in points. eg: 10

STRETCH: 25

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: 12

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

STYLE: 27

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

TEXT_POSITION: 28

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: 11

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

VARIANT: 26

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

WEIGHT: 15

The weight of the characters.

WRAP_MODE: 22

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

Variables

$gtype