Gjsify LogoGjsify Logo

The #AtspiComponentLayer of an #AtspiComponent instance indicates its relative stacking order with respect to the onscreen visual representation of the UI. #AtspiComponentLayer, in combination with #AtspiComponent bounds information, can be used to compute the visibility of all or part of a component. This is important in programmatic determination of region-of-interest for magnification, and in flat screen review models of the screen, as well as for other uses. Objects residing in two of the #AtspiComponentLayer categories support further z-ordering information, with respect to their peers in the same layer: namely, ATSPI_LAYER_WINDOW and ATSPI_LAYER_MDI. Relative stacking order for other objects within the same layer is not available; the recommended heuristic is first child paints first. In other words, assume that the first siblings in the child list are subject to being overpainted by later siblings if their bounds intersect. The order of layers, from bottom to top, is: ATSPI_LAYER_BACKGROUND, ATSPI_LAYER_WINDOW, ATSPI_LAYER_MDI, ATSPI_LAYER_CANVAS, ATSPI_LAYER_WIDGET, ATSPI_LAYER_POPUP, and ATSPI_LAYER_OVERLAY.

Index

Enumeration Members

BACKGROUND: number

The bottom-most layer, over which everything else is painted. The 'desktop background' is generally in this layer.

CANVAS: number

The 'background' layer for most content renderers and UI #AtspiComponent containers.

INVALID: number

Indicates an error condition or uninitialized value.

LAST_DEFINED: number

Used only to determine the end of the enumeration.

MDI: number

A special layer between ATSPI_LAYER_CANVAS and ATSPI_LAYER_WIDGET, in which the 'pseudo windows' (e.g. the MDI frames) reside. See #atspi_component_get_mdi_z_order.

OVERLAY: number

The topmost layer.

POPUP: number

A layer for popup window content, above ATSPI_LAYER_WIDGET.

WIDGET: number

The layer in which the majority of ordinary 'foreground' widgets reside.

WINDOW: number

The layer in which a toplevel window background usually resides.

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