Searched refs:savPanel (Results 1 – 6 of 6) sorted by relevance
140 NSSavePanel *savPanel ;144 savPanel = [NSSavePanel savePanel];145 savPanel.canCreateDirectories = creatDir ;147 { savPanel.allowedFileTypes = types ;148 savPanel.allowsOtherFileTypes = YES ; } ;149 if (titre != nil) savPanel.title = titre ;151 // if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])153 if (defoFile!=nil) savPanel.nameFieldStringValue = defoFile ;154 btOk = [savPanel runModal] == NSModalResponseOK; // Ok?157 // btOk = [savPanel runModalForDirectory:defoDir file:defoFile] == NSOKButton ; // Ok ? deprec…[all …]
493 savPanel.allowedFileTypes = @[@"cfg"] ;494 savPanel.accessoryView = hartage ;496 // if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])497 { savPanel.directoryURL = [NSURL fileURLWithPath:ru isDirectory:YES] ; // Since OS X 10.6498 savPanel.nameFieldStringValue = @"hatari" ;499 btOk = [savPanel runModal] == NSModalResponseOK ; // Ok ?508 [configNm setString: savPanel.URL.path ];532 // if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])533 savPanel.directoryURL = [NSURL fileURLWithPath:defaultDirectory isDirectory:YES] ;535 // [savPanel setDirectory:defaultDirectory] ;[all …]
143 NSSavePanel *savPanel ; variable
140 NSSavePanel *savPanel ;144 savPanel = [NSSavePanel savePanel];145 [savPanel setCanCreateDirectories:creatDir];147 { [savPanel setAllowedFileTypes:types] ;148 [savPanel setAllowsOtherFileTypes:YES] ; } ;149 if (titre != nil) [savPanel setTitle:titre] ;151 if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])153 if (defoFile!=nil) [savPanel setNameFieldStringValue:defoFile] ;154 btOk = [savPanel runModal] == NSOKButton ; // Ok?157 …btOk = [savPanel runModalForDirectory:defoDir file:defoFile] == NSOKButton ; // Ok ? deprecated en…[all …]
485 [savPanel setAllowedFileTypes:[NSArray arrayWithObject:@"cfg"]] ;486 [savPanel setAccessoryView:hartage] ;488 if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])490 [savPanel setNameFieldStringValue:@"hatari"] ;491 btOk = [savPanel runModal] == NSOKButton ; // Ok ?494 btOk = [savPanel runModalForDirectory:ru file:@"hatari"] == NSOKButton ; // avant 10.6499 [configNm setString:[[savPanel URL] path]];523 if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])524 [savPanel setDirectoryURL:[NSURL fileURLWithPath:defaultDirectory isDirectory:YES]] ;526 [savPanel setDirectory:defaultDirectory] ;[all …]
114 NSSavePanel *savPanel ; variable