Window

public class Window : RootView
extension Window: RadioButtonManagerType

Undocumented

  • Specifies the desired target size for this window. During layout, the constraint system attempts to target this size, and if it conflicts with constraints, it sets it to the size closest to this target size capable of satisfying all active constraints.

    If nil, no preferred size is specified.

    Changing this value triggers a setNeedsLayout call automatically.

    Declaration

    Swift

    public var targetSize: UISize? { get set }
  • Undocumented

    Declaration

    Swift

    public let contentsLayoutArea: LayoutGuide
  • Undocumented

    Declaration

    Swift

    public let titleBarLayoutArea: LayoutGuide
  • Undocumented

    Declaration

    Swift

    public var title: String { get set }
  • Undocumented

    Declaration

    Swift

    public var titleFont: Font { get set }
  • Declaration

    Swift

    public override var intrinsicSize: UISize? { get }
  • Undocumented

    Declaration

    Swift

    private(set) public var windowState: WindowState { get }
  • Undocumented

    Declaration

    Swift

    public weak var delegate: WindowDelegate?
  • Undocumented

    Declaration

    Swift

    public init(area: UIRectangle, title: String, titleFont: Font = Fonts.defaultFont(size: 12))
  • Undocumented

    Declaration

    Swift

    public func setShouldCompress(_ isOn: Bool)
  • Undocumented

    Declaration

    Swift

    public func setWindowState(_ state: WindowState)
  • Declaration

    Swift

    public override func setupHierarchy()
  • Declaration

    Swift

    public override func setupConstraints()
  • Declaration

    Swift

    public override func renderBackground(in renderer: Renderer, screenRegion: ClipRegionType)
  • Declaration

    Swift

    public override func renderForeground(in context: Renderer, screenRegion: ClipRegionType)
  • Declaration

    Swift

    public override func onMouseDown(_ event: MouseEventArgs)
  • Declaration

    Swift

    public override func onMouseMove(_ event: MouseEventArgs)
  • Declaration

    Swift

    public override func onMouseLeave()
  • Declaration

    Swift

    public override func onMouseUp(_ event: MouseEventArgs)
  • Declaration

    Swift

    public override func boundsForRedraw() -> UIRectangle
  • Undocumented

    See more

    Declaration

    Swift

    enum WindowState