Gjsify LogoGjsify Logo

The PangoAttribute structure represents the common portions of all attributes.

Particular types of attributes include this structure as their initial portion. The common portion of the attribute holds the range to which the value in the type-specific part of the attribute applies and should be initialized using [methodPango.Attribute.init]. By default, an attribute will have an all-inclusive range of [0,%G_MAXUINT].

record

Hierarchy

  • Attribute

Index

Constructors

Properties

end_index: number

end index of the range (in bytes). The character at this index is not included in the range.

field

the class structure holding information about the type of the attribute

field
start_index: number

the start index of the range (in bytes).

field
name: string

Methods

  • destroy(): void
  • Compare two attributes for equality.

    This compares only the actual value of the two attributes and not the ranges that the attributes apply to.

    Parameters

    Returns boolean

  • Initializes attr's klass to klass, it's start_index to %PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING and end_index to %PANGO_ATTR_INDEX_TO_TEXT_END such that the attribute applies to the entire text by default.

    Parameters

    Returns void

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