Contents

init(gridButtons:)

Initialize the item using one or more grid buttons.

Declaration

init(gridButtons: [CPGridButton])

Parameters

  • gridButtons:

    The grid buttons to display in the item. Specify the buttons in the order you want them to appear. Include no more than four grid buttons in the array.

Return Value

A panel item configured with the specified grid buttons.