Handbook
Glossary
<NSWindow> ( rect style class -- window )
Cocoa bridge
ยป
Cocoa window utilities
Next:
<ViewWindow> ( view rect style -- window )
Vocabulary
cocoa
.
windows
Inputs
rect
an
NSRect
style
a style mask
class
an Objective-C class
Outputs
window
an
NSWindow
Word description
Creates a new
NSWindow
with the specified dimensions.
Definition
USING:
alien.c-types
cocoa.messages
cocoa.runtime
cocoa.types
kernel
;
IN:
cocoa.windows
:
<NSWindow>
( rect style class -- window )
[
{
id
{
id
SEL
}
}
"alloc"
send
]
curry
2dip
NSBackingStoreBuffered
1
{
id
{
id
SEL
NSRect
ulong
ulong
char
}
}
"initWithContentRect:styleMask:backing:defer:"
send
;