Extends Item

Apple.Segmented

An iOS segmented control.

Apple.Segmented {
    Apple.Segmented.Segment {
        label: "Paid"
    }
    Apple.Segmented.Segment {
        label: "Free"
    }
    Apple.Segmented.Segment {
        label: "Top Grossing"
    }
}

property Int selected: 0

The currently selected segment.

property Color tint: #Apple.Tint

The segmented control's color.

Apple.Segmented {
    tint: #FEB619
}

property String font: "San Francisco"

property Float size: 13

Set the font and font size used by the segmented control.

property Array<Apple.Segmented.Segment> segmentsread only

The list of segments in this control.