Extends Item

Apple.Button

An iOS style button.

The following shows an example of a disabled and enabled button.

property Bool enabled: true

True if the button is enabled, otherwise false.

property String label

The label text to show.

property Float size: 18

The label font size.

property Bool bold: false

When true, the label is shown in a bolder font.

property Apple.Button.SystemIcon systemIcon: .None

The system item icon to show for the button.

Apple.Button.SystemItem.None

No icon.

Apple.Button.SystemItem.Add

Apple.Button.SystemItem.Compose

Apple.Button.SystemItem.Reply

Apple.Button.SystemItem.Action

Apple.Button.SystemItem.Organize

Apple.Button.SystemItem.Trash

Apple.Button.SystemItem.Bookmarks

Apple.Button.SystemItem.Search

Apple.Button.SystemItem.Refresh

Apple.Button.SystemItem.Stop

Apple.Button.SystemItem.Camera

Apple.Button.SystemItem.Play

Apple.Button.SystemItem.Pause

Apple.Button.SystemItem.Rewind

Apple.Button.SystemItem.FastForward

Apple.Button.SystemItem.Back

property Color tint: #Apple.Tint

The button color.

event activated()

Emitted when the button is activated.