Kaba class Window ed

...

Syntax ed

class Window
    var w: None

    # constructors
    func mut __init__(width: i32, height: i32, x: i32, y: i32)
    func mut __init__()

    # functions
    func addch(c: i32)
    func attroff(a: i32)
    func attron(a: i32)
    func background(c: i32)
    func clear()
    func getch() -> i32
    func height() -> i32
    func keypad(e: bool)
    func move(x: i32, y: i32)
    func print(s: string)
    func refresh()
    func width() -> i32

Functions ed

func addch(c: i32)
...

func attroff(a: i32)
...

func attron(a: i32)
...

func background(c: i32)
...

func clear()
...

func getch() -> i32
...

func height() -> i32
...

func keypad(e: bool)
...

func move(x: i32, y: i32)
...

func print(s: string)
...

func refresh()
...

func width() -> i32
...

Elements ed

var w: None
...