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
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!
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
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
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