Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
57 lines (45 loc) · 3.86 KB

cp.ui.Column.md

File metadata and controls

57 lines (45 loc) · 3.86 KB

docs » cp.ui.Column


Represents an AXColumn axuielement.

API Overview

  • Functions - API calls offered directly by the extension
  • matches
  • Fields - Variables which can only be accessed from an object returned by a constructor
  • index
  • selected
  • Methods - API calls which can only be made on an object returned by a constructor
  • rows
  • visibleRows

API Documentation

Functions

Signature cp.ui.Column.matches(element) -> boolean
Type Function
Description Checks if the axuielement is a Column.
Parameters
  • element - The axuielement to check.
Returns
  • true if the element is a Column.

Fields

Signature cp.ui.Column.index <cp.prop: number; read-only>
Type Field
Description The numeric index of this column in the overall container, with 0 being the first item.
Signature cp.ui.Column.selected <cp.prop: boolean>
Type Field
Description Indicates if the column is currently selected. May be set.

Methods

Signature cp.ui.Column:rows() -> table of cp.ui.Row or nil
Type Method
Description Returns a table of Rows contained in the Column.
Returns
  • The table, or nil if the column's UI is not available.
Signature cp.ui.Column:visibleRows() -> table of cp.ui.Rows or nil
Type Method
Description Returns a table of Rows which are currently visible on screen.
Returns
  • The table, or nil if the column's UI is not available.