newWithLabel

Creates a new toggle button with a text label.

Return

a new toggle button.

Parameters

label

a string containing the message to be placed in the toggle button.