Up

# NSStackView class documentation

### Authors

Generated by root

### Contents -

1. Software documentation for the NSStackView class
2. Software documentation for the NSStackViewDelegate protocol

# Software documentation for the NSStackView class

## NSStackView : NSView

> Declared in:
>   AppKit/NSStackView.h

Availability: Not in OpenStep/MacOS-X
Description forthcoming.

Instance Variables
Method summary

- +stackViewWithViews:
- -addArrangedSubview:
- -addView:inGravity:
- -alignment
- -arrangedSubviews
- -clippingResistancePriorityForOrientation:
- -customSpacingAfterView:
- -delegate
- -detachedViews
- -detachesHiddenViews
- -distribution
- -edgeInsets
- -hasEqualSpacing
- -huggingPriorityForOrientation:
- -insertArrangedSubview:atIndex:
- -insertView:atIndex:inGravity:
- -orientation
- -removeArrangedSubview:
- -removeView:
- -setAlignment:
- -setArrangedSubviews:
- -setClippingResistancePriority:forOrientation:
- -setCustomSpacing:afterView:
- -setDelegate:
- -setDetachedViews:
- -setDetachesHiddenViews:
- -setDistribution:
- -setEdgeInsets:
- -setHasEqualSpacing:
- -setHuggingPriority:forOrientation:
- -setOrientation:
- -setSpacing:
- -setViews:inGravity:
- -setVisibilityPriority:forView:
- -spacing
- -viewsInGravity:
- -visibilityPriorityForView:

### stackViewWithViews:

+ (instancetype) stackViewWithViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### addArrangedSubview:

- (void) addArrangedSubview: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### addView: inGravity:

- (void) addView: (NSView*)view inGravity: (NSStackViewGravity)gravity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### alignment

- (NSLayoutAttribute) alignment;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### arrangedSubviews

- (NSArray*) arrangedSubviews;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### clippingResistancePriorityForOrientation:

- (NSLayoutPriority) clippingResistancePriorityForOrientation: (NSLayoutConstraintOrientation)o;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### customSpacingAfterView:

- (CGFloat) customSpacingAfterView: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### delegate

- (id<NSStackViewDelegate>) delegate;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### detachedViews

- (NSArray*) detachedViews;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### detachesHiddenViews

- (BOOL) detachesHiddenViews;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### distribution

- (NSStackViewDistribution) distribution;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### edgeInsets

- (NSEdgeInsets) edgeInsets;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### hasEqualSpacing

- (BOOL) hasEqualSpacing;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### huggingPriorityForOrientation:

- (NSLayoutPriority) huggingPriorityForOrientation: (NSLayoutConstraintOrientation)o;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### insertArrangedSubview: atIndex:

- (void) insertArrangedSubview: (NSView*)v atIndex: (NSInteger)idx;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### insertView: atIndex: inGravity:

- (void) insertView: (NSView*)view atIndex: (NSUInteger)index inGravity: (NSStackViewGravity)gravity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### orientation

- (NSUserInterfaceLayoutOrientation) orientation;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### removeArrangedSubview:

- (void) removeArrangedSubview: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### removeView:

- (void) removeView: (NSView*)view;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setAlignment:

- (void) setAlignment: (NSLayoutAttribute)alignment;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setArrangedSubviews:

- (void) setArrangedSubviews: (NSArray*)arrangedSubviews;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setClippingResistancePriority: forOrientation:

- (void) setClippingResistancePriority: (NSLayoutPriority)clippingResistancePriority forOrientation: (NSLayoutConstraintOrientation)o;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setCustomSpacing: afterView:

- (void) setCustomSpacing: (CGFloat)spacing afterView: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setDelegate:

- (void) setDelegate: (id<NSStackViewDelegate>)delegate;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setDetachedViews:

- (void) setDetachedViews: (NSArray*)detachedViews;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setDetachesHiddenViews:

- (void) setDetachesHiddenViews: (BOOL)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setDistribution:

- (void) setDistribution: (NSStackViewDistribution)d;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setEdgeInsets:

- (void) setEdgeInsets: (NSEdgeInsets)insets;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setHasEqualSpacing:

- (void) setHasEqualSpacing: (BOOL)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setHuggingPriority: forOrientation:

- (void) setHuggingPriority: (NSLayoutPriority)huggingPriority forOrientation: (NSLayoutConstraintOrientation)o;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setOrientation:

- (void) setOrientation: (NSUserInterfaceLayoutOrientation)o;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setSpacing:

- (void) setSpacing: (CGFloat)f;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setViews: inGravity:

- (void) setViews: (NSArray*)views inGravity: (NSStackViewGravity)gravity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### setVisibilityPriority: forView:

- (void) setVisibilityPriority: (NSStackViewVisibilityPriority)priority forView: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### spacing

- (CGFloat) spacing;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### viewsInGravity:

- (NSArray*) viewsInGravity: (NSStackViewGravity)gravity;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### visibilityPriorityForView:

- (NSStackViewVisibilityPriority) visibilityPriorityForView: (NSView*)v;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

## Instance Variables for NSStackView Class

### _alignment

@protected NSLayoutAttribute _alignment;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _arrangedSubviews

@protected NSMutableArray* _arrangedSubviews;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _beginningContainer

@protected id _beginningContainer;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _customSpacingMap

@protected NSMapTable* _customSpacingMap;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _delegate

@protected id _delegate;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _detachedViews

@protected NSMutableArray* _detachedViews;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _detachesHiddenViews

@protected BOOL _detachesHiddenViews;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _distribution

@protected NSStackViewDistribution _distribution;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _edgeInsets

@protected NSEdgeInsets _edgeInsets;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _endContainer

@protected id _endContainer;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _hasEqualSpacing

@protected BOOL _hasEqualSpacing;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _hasFlagViewHierarchy

@protected BOOL _hasFlagViewHierarchy;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _horizontalClippingResistancePriority

@protected NSLayoutPriority _horizontalClippingResistancePriority;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _horizontalHuggingPriority

@protected NSLayoutPriority _horizontalHuggingPriority;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _middleContainer

@protected id _middleContainer;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _orientation

@protected NSUserInterfaceLayoutOrientation _orientation;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _secondaryAlignment

@protected NSLayoutAttribute _secondaryAlignment;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _spacing

@protected CGFloat _spacing;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _verticalClippingResistancePriority

@protected NSLayoutPriority _verticalClippingResistancePriority;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _verticalHuggingPriority

@protected NSLayoutPriority _verticalHuggingPriority;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _views

@protected NSMutableArray* _views;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _visiblePriorityMap

@protected NSMapTable* _visiblePriorityMap;
Availability: Not in OpenStep/MacOS-X
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

# Software documentation for the NSStackViewDelegate protocol

## NSStackViewDelegate

> Declared in:
>   AppKit/NSStackView.h

> Conforms to:
>   NSObject

Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary

- -stackView:didReattachViews:
- -stackView:willDetachViews:

### stackView: didReattachViews:

- (void) stackView: (NSStackView*)stackView didReattachViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

### stackView: willDetachViews:

- (void) stackView: (NSStackView*)stackView willDetachViews: (NSArray*)views;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.

Up