Re: NSOpenPanel and CamelBones

2004-08-03 Thread Thilo Planz
my $types = NSMutableArray-alloc-init; $types-addObject('pod'); $types-addObject('pm'); $types-addObject('pl'); my $panel = NSOpenPanel-openPanel; if ($panel-runModalForTypes($types)) { How do I get the open and/or save dialog to open at a specific directory? What I have

NSOpenPanel and CamelBones

2004-07-12 Thread Alan Olsen
Does anyone have a good snippet of example code for calling NSOpenPanel with CamelBones? I am not certain what the syntax should be and there are few examples I can find. Thanks!

Re: NSOpenPanel and CamelBones

2004-07-12 Thread Alan Olsen
On Jul 12, 2004, at 6:12 PM, Alan Olsen wrote: Does anyone have a good snippet of example code for calling NSOpenPanel with CamelBones? I am not certain what the syntax should be and there are few examples I can find. It figures that I have to post here to find where the examples are kept

Re: NSOpenPanel and CamelBones

2004-07-12 Thread Thilo Planz
Hi, Does anyone have a good snippet of example code for calling NSOpenPanel with CamelBones? I am not certain what the syntax should be and there are few examples I can find. Did you check Apple's Cocoa Documentation? Since CamelBones just wraps around the Objective-C functions, you can use

Re: NSOpenPanel and CamelBones

2004-07-12 Thread Pierre Vaudrey
Le mardi, 13 jul 2004, à 03:12 Europe/Paris, Alan Olsen a écrit : good snippet of example code for calling NSOpenPanel with CamelBones? http://cvs.sourceforge.net/viewcvs.py/camelbones/CBExamples/FileViewer/ Hope it's useful Pierre