#cp.ui.ColorWell

UI ColorWell.


#API Overview

Functions - API calls offered directly by the extension

Constructors - API calls which return an object, typically one that offers API methods


#API Documentation

#Functions

Signaturecp.ui.ColorWell.matches(element) -> boolean
TypeFunction
DescriptionChecks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/ColorWell.lua line 23

#Constructors

Signaturecp.ui.ColorWell(parent, uiFinder) -> Image
TypeConstructor
DescriptionCreates a new ColorWell instance.
Parameters
  • parent - The parent object.
  • uiFinder - A function which will return the hs.axuielement when available.
Returns
  • A new ColorWell object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/ui/ColorWell.lua line 11