Module: Atk::TextAttribute

Defined in:
(unknown)

Constant Summary collapse

INVALID =

Invalid attribute, like bad spelling or grammar.

0 or :invalid
LEFT_MARGIN =

The pixel width of the left margin

1 or :left_margin
RIGHT_MARGIN =

The pixel width of the right margin

2 or :right_margin
INDENT =

The number of pixels that the text is indented

3 or :indent
INVISIBLE =

Either “true” or “false” indicating whether text is visible or not

4 or :invisible
EDITABLE =

Either “true” or “false” indicating whether text is editable or not

5 or :editable
PIXELS_ABOVE_LINES =

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

6 or :pixels_above_lines
PIXELS_BELOW_LINES =

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

7 or :pixels_below_lines
PIXELS_INSIDE_WRAP =

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

8 or :pixels_inside_wrap
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.

9 or :bg_full_height
RISE =

Number of pixels that the characters are risen above the baseline

10 or :rise
UNDERLINE =

“none”, “single”, “double”, “low”, or “error”

11 or :underline
STRIKETHROUGH =

“true” or “false” whether the text is strikethrough

12 or :strikethrough
SIZE =

The size of the characters in points. eg: 10

13 or :size
SCALE =

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

14 or :scale
WEIGHT =

The weight of the characters.

15 or :weight
LANGUAGE =

The language used

16 or :language
FAMILY_NAME =

The font family name

17 or :family_name
BG_COLOR =

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

18 or :bg_color
FG_COLOR =

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

19 or :fg_color
BG_STIPPLE =

“true” if a Gdk::Bitmap is set for stippling the background color.

20 or :bg_stipple
FG_STIPPLE =

“true” if a Gdk::Bitmap is set for stippling the foreground color.

21 or :fg_stipple
WRAP_MODE =

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

22 or :wrap_mode
DIRECTION =

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

23 or :direction
JUSTIFICATION =

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

24 or :justification
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”

25 or :stretch
VARIANT =

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

26 or :variant
STYLE =

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

27 or :style
LAST_DEFINED =

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

28 or :last_defined