Gjsify LogoGjsify Logo

Describes the text attributes supported

Index

Enumeration Members

BG_COLOR: number

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

BG_FULL_HEIGHT: number

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

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

DIRECTION: number

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

EDITABLE: number

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

FAMILY_NAME: number

The font family name

FG_COLOR: number

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

FG_STIPPLE: number

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

INDENT: number

The number of pixels that the text is indented

INVALID: number

Invalid attribute, like bad spelling or grammar.

INVISIBLE: number

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

JUSTIFICATION: number

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

LANGUAGE: number

The language used

LAST_DEFINED: number

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

LEFT_MARGIN: number

The pixel width of the left margin

PIXELS_ABOVE_LINES: number

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

PIXELS_BELOW_LINES: number

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

PIXELS_INSIDE_WRAP: number

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

RIGHT_MARGIN: number

The pixel width of the right margin

RISE: number

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

SCALE: number

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

SIZE: number

The size of the characters in points. eg: 10

STRETCH: number

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

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

STYLE: number

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

TEXT_POSITION: number

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

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

VARIANT: number

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

WEIGHT: number

The weight of the characters.

WRAP_MODE: number

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

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method