Window
public class Window : Toplevel
A toplevel view that draws a frame around its region and has a “ContentView” subview where the contents are added. with an optional title that is displayed at the top
-
The title to be displayed for this window.
Declaration
Swift
public var title: String? { get set }
-
Declaration
Swift
public override convenience init()
-
Undocumented
Declaration
Swift
public init(_ title: String? = nil, padding: Int = 0)
-
Declaration
Swift
public override func addSubview(_ view: View)
-
Undocumented
Declaration
Swift
public var allowMove: Bool { get set }
-
Undocumented
Declaration
Swift
public var allowMaximize: Bool { get set }
-
Undocumented
Declaration
Swift
public var allowClose: Bool { get set }
-
Undocumented
Declaration
Swift
public var allowResize: Bool
-
Undocumented
Declaration
Swift
public override func resignFirstResponder() -> Bool
-
Undocumented
Declaration
Swift
public override func becomeFirstResponder() -> Bool
-
Undocumented
Declaration
Swift
public var closeClicked: (Window) -> ()
-
Declaration
Swift
public override func mouseEvent(event: MouseEvent) -> Bool
-
Declaration
Swift
public override func positionCursor()
-
Undocumented
Declaration
Swift
public override var debugDescription: String { get }