/dports/games/fortunate/fortunate-3.1/ |
H A D | PreferencesController.m | 147 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 150 [openPanel setAllowsMultipleSelection: NO]; 151 [openPanel setCanChooseFiles: YES]; 152 [openPanel setCanChooseDirectories: NO]; 153 [openPanel setTitle: @"Select fortune program"]; 155 ret = [openPanel runModalForDirectory: 164 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 167 [openPanel setAllowsMultipleSelection: NO]; 168 [openPanel setCanChooseFiles: NO]; 169 [openPanel setCanChooseDirectories: YES]; [all …]
|
/dports/audio/praat/praat-6.2.03/sys/ |
H A D | GuiFileSelect.cpp | 107 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 109 [openPanel setAllowsMultipleSelection: allowMultipleFiles]; 110 [openPanel setCanChooseDirectories: NO]; 111 if ([openPanel runModal] == NSFileHandlingPanelOKButton) { 112 for (NSURL *url in [openPanel URLs]) { 224 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 226 [openPanel setAllowsMultipleSelection: NO]; 227 [openPanel setCanChooseDirectories: YES]; 228 [openPanel setCanChooseFiles: NO]; 229 [openPanel setPrompt: @"Choose"]; [all …]
|
/dports/cad/ldview/ldview-4.4/MacOSX/LDView/ |
H A D | PreferencePage.mm | 102 - (void)openPanelDidEnd:(NSOpenPanel *)openPanel returnCode:(NSModalResponse)returnCode contextInfo… 108 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 110 openPanel.allowsMultipleSelection = NO; 111 openPanel.canChooseFiles = NO; 112 openPanel.canChooseDirectories = YES; 115 openPanel.directoryURL = [NSURL fileURLWithPath:dir]; 117 …[openPanel beginSheetModalForWindow:[preferences window] completionHandler:^(NSModalResponse respo… 118 [self openPanelDidEnd:openPanel returnCode:response contextInfo:contextInfo];
|
H A D | PathOptionUI.mm | 93 - (void)openPanelDidEnd:(NSOpenPanel *)openPanel returnCode:(NSModalResponse)returnCode 97 NSString *filename = [openPanel ldvFilename]; 108 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 110 openPanel.allowsMultipleSelection = NO; 111 openPanel.canChooseFiles = YES; 112 openPanel.canChooseDirectories = NO; 116 openPanel.directoryURL = [NSURL fileURLWithPath:dir]; 118 [openPanel beginSheetModalForWindow:[docView window] completionHandler:^(NSModalResponse response){ 119 [self openPanelDidEnd:openPanel returnCode:response];
|
/dports/graphics/imageviewer/ImageViewer-0.6.3/ |
H A D | AppController.m | 112 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 115 [openPanel setAllowsMultipleSelection:YES]; 120 NSArray *files = [openPanel filenames]; 123 NSString *_pth = [openPanel directory]; 161 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 165 [openPanel setCanChooseDirectories:YES]; 166 [openPanel setCanChooseFiles:NO]; 167 [openPanel setAllowsMultipleSelection:NO]; 169 result = [openPanel runModalForDirectory:pth file:nil types:nil]; 173 NSArray *files = [openPanel filenames]; [all …]
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/platform/mac/ |
H A D | macfileselector.mm | 83 NSOpenPanel* openPanel = (NSOpenPanel*)panel; 84 NSArray* urls = [openPanel URLs]; 127 NSOpenPanel* openPanel = nil; 165 savePanel = openPanel = [NSOpenPanel openPanel]; 172 [openPanel setCanChooseDirectories:YES]; 177 if (openPanel) 183 openPanel.allowedFileTypes = typesArray; 186 openPanelDidEnd (openPanel, result); 194 openPanel.allowedFileTypes = typesArray; 195 NSInteger res = [openPanel runModal]; [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/lib/platform/mac/ |
H A D | macfileselector.mm | 83 NSOpenPanel* openPanel = (NSOpenPanel*)savePanel; 84 NSArray* urls = [openPanel URLs]; 126 NSOpenPanel* openPanel = nil; 164 savePanel = openPanel = [NSOpenPanel openPanel]; 171 [openPanel setCanChooseDirectories:YES]; 176 if (openPanel) 182 openPanel.allowedFileTypes = typesArray; 185 openPanelDidEnd (openPanel, result); 193 openPanel.allowedFileTypes = typesArray; 194 NSInteger res = [openPanel runModal]; [all …]
|
/dports/archivers/zipper/Zipper-1.5/ |
H A D | PreferencesController.m | 258 NSOpenPanel *openPanel; 261 openPanel = [NSOpenPanel openPanel]; 262 [openPanel setTitle:@"Find executable"]; 263 [openPanel setCanChooseFiles:YES]; 264 [openPanel setCanChooseDirectories:NO]; 269 NSString *path = [openPanel filename]; 361 NSOpenPanel *openPanel; 368 openPanel = [NSOpenPanel openPanel]; 369 [openPanel setTitle:@"Find default open app"]; 371 [openPanel setCanChooseFiles:NO]; [all …]
|
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/ppui/osinterface/cocoa/ |
H A D | PPOpenPanel_COCOA.mm | 46 -(id) initWithOpenPanel:(NSOpenPanel*)openPanel andFileTypes:(NSDictionary*) fileTypes 50 _openPanel = openPanel; 99 NSOpenPanel* openPanel = [NSOpenPanel openPanel]; 182 [openPanel setTitle:[NSString stringWithUTF8String:caption]]; 183 [openPanel setAllowedFileTypes:[fileTypes allValues]]; 184 [openPanel setCanChooseFiles:YES]; 185 [openPanel setCanChooseDirectories:NO]; 186 [openPanel setAllowsMultipleSelection:NO]; 187 [openPanel setAccessoryView:accessoryView]; 190 if ([openPanel runModal] == NSFileHandlingPanelOKButton) [all …]
|
/dports/emulators/hatari/hatari-2.2.1/src/gui-osx/ |
H A D | Shared.m | 101 NSOpenPanel *openPanel ; 105 openPanel = [NSOpenPanel openPanel]; 106 openPanel.canChooseDirectories = chooseDir ; 107 openPanel.canChooseFiles = !chooseDir; 108 openPanel.allowsMultipleSelection = NO ; 110 { openPanel.allowedFileTypes = types ; 111 openPanel.allowsOtherFileTypes = YES ; } ; 112 if (titre != nil) openPanel.title = titre ; 114 // if ([openPanel respondsToSelector:@selector(setDirectoryURL:)]) 116 if (defoFile!=nil) openPanel.nameFieldStringValue = defoFile ; [all …]
|
/dports/editors/abiword/abiword-3.0.5/src/af/xap/cocoa/ |
H A D | xap_CocoaDlg_FileOpenSaveAs.cpp | 162 NSOpenPanel *openPanel = [[NSOpenPanel openPanel] retain]; in _makeOpenPanel() local 164 [openPanel setAllowsMultipleSelection:NO]; in _makeOpenPanel() 165 [openPanel setCanChooseDirectories:NO]; in _makeOpenPanel() 166 [openPanel setCanChooseFiles:YES]; in _makeOpenPanel() 169 [openPanel setCanCreateDirectories:NO]; in _makeOpenPanel() 171 [openPanel setCanSelectHiddenExtension:NO]; in _makeOpenPanel() 172 [openPanel setExtensionHidden:NO]; in _makeOpenPanel() 178 [openPanel setAllowedFileTypes:m_fileTypes]; in _makeOpenPanel() 181 [openPanel setAllowedFileTypes:nil]; in _makeOpenPanel() 183 return openPanel; in _makeOpenPanel() [all …]
|
/dports/games/libretro-hatari/hatari-561c07e/src/gui-osx/ |
H A D | Shared.m | 102 NSOpenPanel *openPanel ; 106 openPanel = [NSOpenPanel openPanel]; 107 [openPanel setCanChooseDirectories: chooseDir]; 108 [openPanel setCanChooseFiles: !chooseDir]; 109 [openPanel setAllowsMultipleSelection:NO] ; 111 { [openPanel setAllowedFileTypes:types] ; 112 [openPanel setAllowsOtherFileTypes:YES] ; } ; 113 if (titre != nil) [openPanel setTitle:titre] ; 115 if ([openPanel respondsToSelector:@selector(setDirectoryURL:)]) 117 if (defoFile!=nil) [openPanel setNameFieldStringValue:defoFile] ; [all …]
|
/dports/devel/gorm/apps-gorm-04554d2/GormPrefs/ |
H A D | GormHeadersPref.m | 72 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 75 [openPanel setAllowsMultipleSelection: YES]; 76 [openPanel setCanChooseFiles: YES]; 77 [openPanel setCanChooseDirectories: NO]; 78 result = [openPanel runModalForDirectory: nil 85 [list addObjectsFromArray: [openPanel filenames]];
|
/dports/textproc/easydiff/EasyDiff-0.4.0/ |
H A D | AppController.m | 61 oPanel = [NSOpenPanel openPanel]; 104 oPanel = [NSOpenPanel openPanel]; 217 NSOpenPanel *openPanel; 219 openPanel = [NSOpenPanel openPanel]; 220 [openPanel setAllowsMultipleSelection:NO]; 221 [openPanel setCanChooseDirectories:NO]; 222 [openPanel setCanChooseFiles:YES]; 224 if ([openPanel runModal] == NSOKButton) 226 file = [[openPanel filenames] objectAtIndex:0];
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/samples/vst/again_auv3/macOS/Sources/ |
H A D | ViewController.m | 138 NSOpenPanel* openPanel = [NSOpenPanel openPanel]; 139 openPanel.title = @"Choose an audio file"; 140 openPanel.showsResizeIndicator = YES; 141 openPanel.canChooseFiles = YES; 142 openPanel.allowsMultipleSelection = NO; 143 openPanel.canChooseDirectories = NO; 144 openPanel.canCreateDirectories = YES; 145 openPanel.allowedFileTypes = @[@"aac", @"aif", @"aiff", @"caf", @"m4a", @"mp3", @"wav"]; 147 if ( [openPanel runModal] == NSModalResponseOK ) 149 NSArray* urls = [openPanel URLs];
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vst3sdk/public.sdk/samples/vst/again_auv3/macOS/Sources/ |
H A D | ViewController.m | 138 NSOpenPanel* openPanel = [NSOpenPanel openPanel]; 139 openPanel.title = @"Choose an audio file"; 140 openPanel.showsResizeIndicator = YES; 141 openPanel.canChooseFiles = YES; 142 openPanel.allowsMultipleSelection = NO; 143 openPanel.canChooseDirectories = NO; 144 openPanel.canCreateDirectories = YES; 145 openPanel.allowedFileTypes = @[@"aac", @"aif", @"aiff", @"caf", @"m4a", @"mp3", @"wav"]; 147 if ( [openPanel runModal] == NSModalResponseOK ) 149 NSArray* urls = [openPanel URLs];
|
/dports/devel/gwenhywfar-gtk3/gwenhywfar-5.6.0/gui/cocoa/ |
H A D | cocoa_gui.m | 207 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 208 if (openPanel) { 209 if (title) [openPanel setTitle:title]; 210 [openPanel setAllowsMultipleSelection:NO]; 211 [openPanel setCanChooseFiles:(fnt == GWEN_Gui_FileNameType_OpenFileName)]; 212 [openPanel setCanChooseDirectories:(fnt == GWEN_Gui_FileNameType_OpenDirectory)]; 220 [openPanel setDirectory:pathToFolder]; 222 NSInteger result = [openPanel runModal]; 224 NSArray *urls = [openPanel URLs];
|
/dports/devel/gwenhywfar-fox16/gwenhywfar-5.6.0/gui/cocoa/ |
H A D | cocoa_gui.m | 207 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 208 if (openPanel) { 209 if (title) [openPanel setTitle:title]; 210 [openPanel setAllowsMultipleSelection:NO]; 211 [openPanel setCanChooseFiles:(fnt == GWEN_Gui_FileNameType_OpenFileName)]; 212 [openPanel setCanChooseDirectories:(fnt == GWEN_Gui_FileNameType_OpenDirectory)]; 220 [openPanel setDirectory:pathToFolder]; 222 NSInteger result = [openPanel runModal]; 224 NSArray *urls = [openPanel URLs];
|
/dports/devel/gwenhywfar-qt5/gwenhywfar-5.6.0/gui/cocoa/ |
H A D | cocoa_gui.m | 207 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 208 if (openPanel) { 209 if (title) [openPanel setTitle:title]; 210 [openPanel setAllowsMultipleSelection:NO]; 211 [openPanel setCanChooseFiles:(fnt == GWEN_Gui_FileNameType_OpenFileName)]; 212 [openPanel setCanChooseDirectories:(fnt == GWEN_Gui_FileNameType_OpenDirectory)]; 220 [openPanel setDirectory:pathToFolder]; 222 NSInteger result = [openPanel runModal]; 224 NSArray *urls = [openPanel URLs];
|
/dports/devel/gwenhywfar/gwenhywfar-5.6.0/gui/cocoa/ |
H A D | cocoa_gui.m | 207 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 208 if (openPanel) { 209 if (title) [openPanel setTitle:title]; 210 [openPanel setAllowsMultipleSelection:NO]; 211 [openPanel setCanChooseFiles:(fnt == GWEN_Gui_FileNameType_OpenFileName)]; 212 [openPanel setCanChooseDirectories:(fnt == GWEN_Gui_FileNameType_OpenDirectory)]; 220 [openPanel setDirectory:pathToFolder]; 222 NSInteger result = [openPanel runModal]; 224 NSArray *urls = [openPanel URLs];
|
/dports/devel/gwenhywfar-gtk2/gwenhywfar-5.6.0/gui/cocoa/ |
H A D | cocoa_gui.m | 207 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 208 if (openPanel) { 209 if (title) [openPanel setTitle:title]; 210 [openPanel setAllowsMultipleSelection:NO]; 211 [openPanel setCanChooseFiles:(fnt == GWEN_Gui_FileNameType_OpenFileName)]; 212 [openPanel setCanChooseDirectories:(fnt == GWEN_Gui_FileNameType_OpenDirectory)]; 220 [openPanel setDirectory:pathToFolder]; 222 NSInteger result = [openPanel runModal]; 224 NSArray *urls = [openPanel URLs];
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/utils/kicad2step/ |
H A D | kicad2step.cpp | 62 static PANEL_KICAD2STEP* openPanel = nullptr; variable 65 if( openPanel != nullptr ) in ReportMessage() 66 openPanel->AppendMessage( aMessage ); in ReportMessage() 100 openPanel->m_error = true; in Send() 103 openPanel->m_fail = true; in Send() 311 openPanel = m_panel; in Run() 315 openPanel = nullptr; in Run()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/SDK/OSX/Xcode Templates/Installer/Select Ogre Install Location/ |
H A D | Select_Ogre_Install_LocationPane.m | 75 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 76 [openPanel setDelegate:self]; 77 [openPanel setCanChooseFiles:NO]; 78 [openPanel setCanChooseDirectories:YES]; 79 [openPanel setAllowsMultipleSelection:NO]; 83 [openPanel beginSheetForDirectory:nil 94 NSOpenPanel *openPanel = [NSOpenPanel openPanel]; 95 [openPanel setDelegate:self]; 96 [openPanel setCanChooseFiles:NO]; 97 [openPanel setCanChooseDirectories:YES]; [all …]
|
/dports/games/tuxpaint-config/tuxpaint-config-0.0.13/src/ |
H A D | macosx_dialog.m | 117 NSOpenPanel* openPanel = [ NSOpenPanel openPanel ]; 119 [ openPanel setCanChooseFiles:(files != 0) ]; 120 [ openPanel setCanChooseDirectories:(directories != 0 ) ]; 124 [ openPanel beginSheetForDirectory:nil 137 int result = [ openPanel runModalForDirectory:NSHomeDirectory() file:nil types:fileTypes ]; 139 dirPath = [ openPanel filename ];
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/common/entry/ |
H A D | dialog_darwin.mm | 95 NSOpenPanel* openPanel = [NSOpenPanel openPanel]; 96 openPanel.canChooseFiles = TRUE; 97 openPanel.allowsMultipleSelection = FALSE; 98 openPanel.canChooseDirectories = FALSE; 99 panel = openPanel;
|