Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSegmentedControlMBS class.

NSSegmentedControlMBS.NSImageScaleAxesIndependently = 1

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants specify a cell's image scaling behavior.

Scale each dimension to exactly fit destination.
This setting does not preserve the aspect ratio of the image.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSImageScaleNone = 2

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants specify a cell's image scaling behavior.

Do not scale the image.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSImageScaleProportionallyDown = 0

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants specify a cell's image scaling behavior.

If it is too large for the destination, scale the image down while preserving the aspect ratio.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSImageScaleProportionallyUpOrDown = 3

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants specify a cell's image scaling behavior.

Scale the image to its maximum possible dimensions while both staying within the destination area and preserving its aspect ratio.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSSegmentStyleAutomatic = 0

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants to specify the visual style used to display the segmented control.

The appearance of the segmented control is automatically determined based on the type of window in which the control is displayed and the position within the window.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSSegmentStyleRounded = 1

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants to specify the visual style used to display the segmented control.

The control is displayed using the rounded style.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSSegmentStyleRoundRect = 2

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants to specify the visual style used to display the segmented control.

The control is displayed using the round rect style.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSSegmentStyleSmallSquare = 6

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants to specify the visual style used to display the segmented control.

The control is displayed using the small square style.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSSegmentStyleTexturedSquare = 4

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants to specify the visual style used to display the segmented control.

The control is displayed using the textured square style.
Available in Mac OS X v10.5 and later.

NSSegmentedControlMBS.NSSegmentSwitchTrackingMomentary = 2

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants for switch tracking.

A segment is selected only when tracking.

NSSegmentedControlMBS.NSSegmentSwitchTrackingMomentaryAccelerator = 3

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 15.2
One of the constants for switch tracking.

accelerator behavior, only selected while tracking.

NSSegmentedControlMBS.NSSegmentSwitchTrackingSelectAny = 1

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants for switch tracking.

Any segment can be selected.

NSSegmentedControlMBS.NSSegmentSwitchTrackingSelectOne = 0

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 12.1
One of the constants for switch tracking.

Only one segment may be selected.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...