QcPenPrinter: no need to allocate QPrintDialog on heap
[supercollider.git] / HelpSource / Classes / Cocoa.schelp
blob792bc3d23bd1f037debdf457e68ad881a6850488
1 class:: Cocoa
2 summary:: file paths that utilize OS X Cocoa services
3 related:: Classes/CocoaDialog
4 categories:: OSX
6 ClassMethods::
8 private::prGetPathsInDirectory
10 Examples::
12 code::
13 Cocoa.getPathsInDirectory("plugins")
15 // note: it is better to now use pathMatch (unix compatible). Wild cards like * can be used.
17 "plugins/*".pathMatch;
18 "plugins/D*".pathMatch;
19 "plugins/[D,T]*".pathMatch;
22 This is a temporary implementation before I (felix) gets around to doing the proper Directory implementation.
23 It gets all paths in that directory and subdirectories.
24 maxItems is the size of the array to use, and should be larger than the number of items you might return, else a primitive index error.
26 all paths are standardized