11 view = this.asNSObject;
12 window = view.invoke("window");
14 ^window; // you own it - call release one you do not need it anymore
20 if(isClosed, {^false});
22 nsObj = this.asNSWindow;
23 ok = nsObj.invoke("isVisible");
26 if(ok.isKindOf(Char), {
27 ^(ok.ascii > 0); // 3.3 - BOOL is returned as Char
29 ^(ok > 0); // post 3.3 - BOOL is returned as Integer
38 if(isClosed, {^this});
40 nsObj = this.asNSWindow;
44 nsObj.invoke("orderOut:", [nil], true);