23 lines
792 B
Factor
23 lines
792 B
Factor
USING: help.markup help.syntax strings ;
|
|
IN: cocoa.pasteboard
|
|
|
|
HELP: pasteboard-string?
|
|
{ $values { "pasteboard" "an " { $snippet "NSPasteBoard" } } { "?" "a boolean" } }
|
|
{ $description "Tests if the pasteboard holds a string." } ;
|
|
|
|
HELP: pasteboard-string
|
|
{ $values { "pasteboard" "an " { $snippet "NSPasteBoard" } } { "str" string } }
|
|
{ $description "Outputs the contents of the pasteboard." } ;
|
|
|
|
HELP: set-pasteboard-string
|
|
{ $values { "str" string } { "pasteboard" "an " { $snippet "NSPasteBoard" } } }
|
|
{ $description "Sets the contents of the pasteboard." } ;
|
|
|
|
ARTICLE: "cocoa-pasteboard-utils" "Cocoa pasteboard utilities"
|
|
{ $subsection pasteboard-string? }
|
|
{ $subsection pasteboard-string }
|
|
{ $subsection set-pasteboard-string } ;
|
|
|
|
IN: cocoa.pasteboard
|
|
ABOUT: "cocoa-pasteboard-utils"
|