# cp.ui.ColorWell

UI ColorWell.


# API Overview

Functions - API calls offered directly by the extension

  • matches

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

  • ColorWell

# API Documentation

# Functions

# matches

Signature cp.ui.ColorWell.matches(element) -> boolean
Type Function
Description Checks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false
Notes None
Examples None
Source src/extensions/cp/ui/ColorWell.lua line 23

# Constructors

# ColorWell

Signature cp.ui.ColorWell(parent, uiFinder) -> Image
Type Constructor
Description Creates 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.
Notes None
Examples None
Source src/extensions/cp/ui/ColorWell.lua line 11