<NSOpenPanel> ( -- panel )
Cocoa bridge ยป Cocoa file dialogs

Next:open-panel ( -- paths )


Vocabulary
cocoa.dialogs

Inputs
None

Outputs
panelan NSOpenPanel


Word description
Creates a new NSOpenPanel.

Definition


: <NSOpenPanel> ( -- panel )
NSOpenPanel { id { id SEL } } "openPanel" send dup 1
{ void { id SEL char } } "setCanChooseFiles:" send dup 0
{ void { id SEL char } } "setCanChooseDirectories:" send
dup 1 { void { id SEL char } } "setResolvesAliases:" send
dup 1
{ void { id SEL char } } "setAllowsMultipleSelection:" send
;