#cp.ui.Column

Represents a Column in a Table.


#API Overview

Functions - API calls offered directly by the extension

Fields - Variables which can only be accessed from an object returned by a constructor

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Functions

Signaturecp.ui.Column.matches(element) -> boolean
TypeFunction
DescriptionChecks if the axuielement is a Column.
Parameters
  • element - The axuielement to check.
Returns
  • true if the element is a Column.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldColumn.lua line 10

#Fields

Signaturecp.ui.Column.index <cp.prop: number; read-only>
TypeField
DescriptionThe numeric index of this column in the overall container, with 0 being the first item.
NotesNone
Sourcesrc/extensions/cp/ui/OldColumn.lua line 23

Signaturecp.ui.Column.selected <cp.prop: boolean>
TypeField
DescriptionIndicates if the column is currently selected. May be set.
NotesNone
Sourcesrc/extensions/cp/ui/OldColumn.lua line 30

#Methods

Signaturecp.ui.Column:rows() -> table of cp.ui.OldRow or nil
TypeMethod
DescriptionReturns a table of Rows contained in the Column.
Parameters
  • None
Returns
  • The table, or nil if the column's UI is not available.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldColumn.lua line 37

Signaturecp.ui.Column:visibleRows() -> table of cp.ui.OldRows or nil
TypeMethod
DescriptionReturns a table of Rows which are currently visible on screen.
Parameters
  • None
Returns
  • The table, or nil if the column's UI is not available.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/OldColumn.lua line 54