Lays out a collection of views in either a column or a row

Introduced properties

fun add_arranged_subview(view: UIView)

ios :: UIStackView :: add_arranged_subview

Wraps: [self addArrangedSubview:(UIView)view]
fun alignment: UIStackViewAlignment

ios :: UIStackView :: alignment

Wraps: UIStackView.alignment
fun alignment=(value: UIStackViewAlignment)

ios :: UIStackView :: alignment=

Wraps: UIStackView.alignment =
fun axis: UILayoutConstraintAxis

ios :: UIStackView :: axis

Wraps: UIStackView.axis
fun axis=(value: UILayoutConstraintAxis)

ios :: UIStackView :: axis=

Wraps: UIStackView.axis =
fun baseline_relative_arrangement: Bool

ios :: UIStackView :: baseline_relative_arrangement

Wraps: UIStackView.baselineRelativeArrangement
fun baseline_relative_arrangement=(value: Bool)

ios :: UIStackView :: baseline_relative_arrangement=

Wraps: UIStackView.baselineRelativeArrangement
fun distribution: UIStackViewDistribution

ios :: UIStackView :: distribution

Wraps: UIStackView.distribution
fun distribution=(value: UIStackViewDistribution)

ios :: UIStackView :: distribution=

Wraps: UIStackView.distribution =
fun insert_arranged_subview_at_index(view: UIView, stack_index: Int)

ios :: UIStackView :: insert_arranged_subview_at_index

Wraps: [self insertArrangedSubview:(UIView)view atIndex:(NSUInteger)stackIndex]
fun layout_margins_relative_arrangement: Bool

ios :: UIStackView :: layout_margins_relative_arrangement

Wraps: UIStackView.layoutMarginsRelativeArrangement
fun layout_margins_relative_arrangement=(value: Bool)

ios :: UIStackView :: layout_margins_relative_arrangement=

Wraps: UIStackView.layoutMarginsRelativeArrangement
fun remove_arranged_subview(view: UIView)

ios :: UIStackView :: remove_arranged_subview

Wraps: [self removeArrangedSubview:(UIView)view]
fun spacing: Float

ios :: UIStackView :: spacing

Wraps: UIStackView.spacing
fun spacing=(value: Float)

ios :: UIStackView :: spacing=

Wraps: UIStackView.spacing =

Redefined properties

redef type SELF: UIStackView

ios $ UIStackView :: SELF

Type of this instance, automatically specialized in every class

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
fun add_arranged_subview(view: UIView)

ios :: UIStackView :: add_arranged_subview

Wraps: [self addArrangedSubview:(UIView)view]
fun add_subview(view: UIView)

ios :: UIView :: add_subview

Wraps: UIView.addSubview
fun address_is_null: Bool

core :: Pointer :: address_is_null

Is the address behind this Object at NULL?
fun alignment: UIStackViewAlignment

ios :: UIStackView :: alignment

Wraps: UIStackView.alignment
fun alignment=(value: UIStackViewAlignment)

ios :: UIStackView :: alignment=

Wraps: UIStackView.alignment =
fun axis: UILayoutConstraintAxis

ios :: UIStackView :: axis

Wraps: UIStackView.axis
fun axis=(value: UILayoutConstraintAxis)

ios :: UIStackView :: axis=

Wraps: UIStackView.axis =
fun background_color=(color: UIColor)

ios :: UIView :: background_color=

Wraps: UIView.backgroundColor =
fun baseline_relative_arrangement: Bool

ios :: UIStackView :: baseline_relative_arrangement

Wraps: UIStackView.baselineRelativeArrangement
fun baseline_relative_arrangement=(value: Bool)

ios :: UIStackView :: baseline_relative_arrangement=

Wraps: UIStackView.baselineRelativeArrangement
protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
fun class_name: String

core :: Object :: class_name

The class name of the object.
fun distribution: UIStackViewDistribution

ios :: UIStackView :: distribution

Wraps: UIStackView.distribution
fun distribution=(value: UIStackViewDistribution)

ios :: UIStackView :: distribution=

Wraps: UIStackView.distribution =
fun free

core :: Pointer :: free

Free the memory pointed by this pointer
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun hash: Int

core :: Object :: hash

The hash code of the object.
init init

core :: Object :: init

fun insert_arranged_subview_at_index(view: UIView, stack_index: Int)

ios :: UIStackView :: insert_arranged_subview_at_index

Wraps: [self insertArrangedSubview:(UIView)view atIndex:(NSUInteger)stackIndex]
fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
fun layout_margins_relative_arrangement: Bool

ios :: UIStackView :: layout_margins_relative_arrangement

Wraps: UIStackView.layoutMarginsRelativeArrangement
fun layout_margins_relative_arrangement=(value: Bool)

ios :: UIStackView :: layout_margins_relative_arrangement=

Wraps: UIStackView.layoutMarginsRelativeArrangement
init new: UIView

ios :: UIView :: new

init nul: Pointer

core :: Pointer :: nul

C NULL pointer
intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
fun remove_arranged_subview(view: UIView)

ios :: UIStackView :: remove_arranged_subview

Wraps: [self removeArrangedSubview:(UIView)view]
fun remove_from_superview

ios :: UIView :: remove_from_superview

Wraps: UIView.removeFromSuperview
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
fun set_bounds(x: Float, y: Float, w: Float, h: Float)

ios :: UIView :: set_bounds

Wraps: UIView.bounds =
fun set_center(x: Float, y: Float)

ios :: UIView :: set_center

Wraps: UIView.center =
fun set_frame(x: Float, y: Float, w: Float, h: Float)

ios :: UIView :: set_frame

Wraps: UIView.frame =
fun size_to_fit

ios :: UIView :: size_to_fit

Wraps: UIView.sizeToFit
fun spacing: Float

ios :: UIStackView :: spacing

Wraps: UIStackView.spacing
fun spacing=(value: Float)

ios :: UIStackView :: spacing=

Wraps: UIStackView.spacing =
intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

fun to_s: String

core :: Object :: to_s

User readable representation of self.
fun translates_autoresizing_mask_into_constraits=(value: Bool)

ios :: UIView :: translates_autoresizing_mask_into_constraits=

Wraps: UIView.translatesAutoresizingMaskIntoConstraints =
fun user_interaction_enabled=(value: Bool)

ios :: UIView :: user_interaction_enabled=

Wraps: UIView.userInteractionEnabled =
package_diagram ios::UIStackView UIStackView ios::UIView UIView ios::UIStackView->ios::UIView cocoa::NSObject NSObject ios::UIView->cocoa::NSObject ...cocoa::NSObject ... ...cocoa::NSObject->cocoa::NSObject

Ancestors

extern class NSObject

cocoa :: NSObject

Base of the Foundation framework class hierarchy
interface Object

core :: Object

The root of the class hierarchy.
extern class Pointer

core :: Pointer

Pointer classes are used to manipulate extern C structures.

Parents

extern class UIView

ios :: UIView

Rectangular area on the screen

Class definitions

ios $ UIStackView
# Lays out a collection of views in either a column or a row
extern class UIStackView in "ObjC" `{ UIStackView * `}
	super UIView

	new in "ObjC" `{
		return [[UIStackView alloc] init];
	`}

	# Wraps: `[self addArrangedSubview:(UIView)view]`
	fun add_arranged_subview(view: UIView) in "ObjC" `{
		[self addArrangedSubview: view];
	`}

	# Wraps: `[self removeArrangedSubview:(UIView)view]`
	fun remove_arranged_subview(view: UIView) in "ObjC" `{
		[self removeArrangedSubview: view];
	`}

	# Wraps: `[self insertArrangedSubview:(UIView)view atIndex:(NSUInteger)stackIndex]`
	fun insert_arranged_subview_at_index(view: UIView, stack_index: Int) in "ObjC" `{
		[self insertArrangedSubview: view atIndex: stack_index];
	`}

	# Wraps: `[self initWithArrangedSubviews:(NSArray)views]`
	#new init_with_arranged_subviews(views: NSArray) in "ObjC" `{
	#	return [[UIStackView alloc] initWithArrangedSubviews: views];
	#`}

	# Wraps: `UIStackView.arrangedSubviews`
	#fun arranged_subviews: NSArray in "ObjC" `{
	#	return [self arrangedSubviews];
	#`}

	# Wraps: `UIStackView.axis`
	fun axis: UILayoutConstraintAxis in "ObjC" `{ return [self axis]; `}

	# Wraps: `UIStackView.axis =`
	fun axis=(value: UILayoutConstraintAxis) in "ObjC" `{ self.axis = value; `}

	# Wraps: `UIStackView.distribution`
	fun distribution: UIStackViewDistribution in "ObjC" `{ return [self distribution]; `}

	# Wraps: `UIStackView.distribution =`
	fun distribution=(value: UIStackViewDistribution) in "ObjC" `{ self.distribution = value; `}

	# Wraps: `UIStackView.alignment`
	fun alignment: UIStackViewAlignment in "ObjC" `{ return [self alignment]; `}

	# Wraps: `UIStackView.alignment =`
	fun alignment=(value: UIStackViewAlignment) in "ObjC" `{ self.alignment = value; `}

	# Wraps: `UIStackView.spacing`
	fun spacing: Float in "ObjC" `{ return [self spacing]; `}

	# Wraps: `UIStackView.spacing =`
	fun spacing=(value: Float) in "ObjC" `{ self.spacing = value; `}

	# Wraps: `UIStackView.baselineRelativeArrangement`
	fun baseline_relative_arrangement: Bool in "ObjC" `{
		return self.baselineRelativeArrangement;
	`}

	# Wraps: `UIStackView.baselineRelativeArrangement`
	fun baseline_relative_arrangement=(value: Bool) in "ObjC" `{
		self.baselineRelativeArrangement = value;
	`}

	# Wraps: `UIStackView.layoutMarginsRelativeArrangement`
	fun layout_margins_relative_arrangement: Bool in "ObjC" `{
		return self.layoutMarginsRelativeArrangement;
	`}

	# Wraps: `UIStackView.layoutMarginsRelativeArrangement`
	fun layout_margins_relative_arrangement=(value: Bool) in "ObjC" `{
		self.layoutMarginsRelativeArrangement = value;
	`}
end
lib/ios/ui/uikit.nit:478,1--554,3