Class

CPGridButton

A menu item button displayed on a grid template.

Declaration

@interface CPGridButton : NSObject

Topics

Creating a Grid Button

- initWithTitleVariants:image:handler:

Initializes a grid button with specified title variants, image, and action handler.

Controlling the Grid Button

enabled

A Boolean value that enables and disables the grid button.

Obtaining Grid Button Information

titleVariants

An array of title variants for the button.

image

The image displayed on the button.

Relationships

Inherits From

Conforms To

See Also

Creating a Grid Template

- initWithTitle:gridButtons:

Initializes a grid template with a title and a set of buttons.