/third_party/python/Lib/idlelib/idle_test/ |
D | test_query.py | 44 dialog = self.Dummy_Query(' ') 45 self.assertEqual(dialog.entry_ok(), None) 46 self.assertEqual((dialog.result, dialog.destroyed), (None, False)) 47 self.assertIn('blank line', dialog.entry_error['text']) 50 dialog = self.Dummy_Query(' good ') 52 Equal(dialog.entry_ok(), 'good') 53 Equal((dialog.result, dialog.destroyed), (None, False)) 54 Equal(dialog.entry_error['text'], '') 57 dialog = self.Dummy_Query('') 58 dialog.entry.focus_set = mock.Mock() [all …]
|
D | test_config_key.py | 37 cls.dialog = cls.Validator( 42 cls.dialog.cancel() 45 del cls.dialog, cls.root 48 self.dialog.showerror.message = '' 53 self.dialog.key_string.set(' ') 54 self.dialog.ok() 55 self.assertEqual(self.dialog.result, '') 56 self.assertEqual(self.dialog.showerror.message, 'No key specified.') 59 self.dialog.key_string.set('<Key-F11>') 60 self.dialog.list_keys_final.get.result = 'F11' [all …]
|
D | test_searchbase.py | 41 self.dialog = sdb.SearchDialogBase(root=self.root, engine=self.engine) 44 self.dialog.close() 48 self.dialog.default_command = None 52 self.dialog.open(text) 53 self.assertEqual(self.dialog.top.state(), 'normal') 54 self.dialog.close() 55 self.assertEqual(self.dialog.top.state(), 'withdrawn') 57 self.dialog.open(text, searchphrase="hello") 58 self.assertEqual(self.dialog.ent.get(), 'hello') 63 self.dialog.create_entries = Func() [all …]
|
D | test_help_about.py | 29 cls.dialog = About(cls.root, 'About IDLE', _utest=True) 33 del cls.dialog 43 self.assertEqual(self.dialog.title(), 'About IDLE') 47 path, file = os.path.split(self.dialog.icon_image['file']) 53 dialog = self.dialog 54 button_sources = [(dialog.py_license, license, 'license'), 55 (dialog.py_copyright, copyright, 'copyright'), 56 (dialog.py_credits, credits, 'credits')] 62 get = dialog._current_textview.viewframe.textframe.text.get 68 dialog._current_textview.destroy() [all …]
|
D | test_search.py | 29 self.dialog = search.SearchDialog(self.root, self.engine) 30 self.dialog.bell = lambda: None 39 self.assertFalse(self.dialog.find_again(text)) 40 self.dialog.bell = lambda: None 43 self.assertTrue(self.dialog.find_again(text)) 46 self.assertFalse(self.dialog.find_again(text)) 49 self.assertTrue(self.dialog.find_again(text)) 52 self.assertTrue(self.dialog.find_again(text)) 57 self.assertTrue(self.dialog.find_again(text)) 66 self.assertTrue(self.dialog.find_selection(text)) [all …]
|
D | test_replace.py | 25 cls.dialog = ReplaceDialog(cls.root, cls.engine) 26 cls.dialog.bell = lambda: None 27 cls.dialog.ok = Mock() 31 cls.dialog.text = cls.text 36 del cls.text, cls.dialog, cls.engine 45 self.dialog.replvar.set('') 65 rv = self.dialog.replvar 66 replace = self.dialog.replace_it 123 self.dialog.find_it(0) 129 rv = self.dialog.replvar [all …]
|
D | test_configdialog.py | 27 dialog = None variable 35 global root, dialog 39 dialog = configdialog.ConfigDialog(root, 'Test', _utest=True) 43 global root, dialog 50 root = dialog = None 65 d = dialog 74 d = dialog 86 d = dialog 95 dialog.note.select(dialog.keyspage) 98 dialog.buttons['Help'].invoke() [all …]
|
/third_party/toybox/kconfig/lxdialog/ |
D | inputbox.c | 29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 34 print_button(dialog, " Ok ", y, x, selected == 0); in print_buttons() 35 print_button(dialog, " Help ", y, x + 14, selected == 1); in print_buttons() 37 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons() 38 wrefresh(dialog); in print_buttons() 50 WINDOW *dialog; in dialog_inputbox() local 69 dialog = newwin(height, width, y, x); in dialog_inputbox() 70 keypad(dialog, TRUE); in dialog_inputbox() 72 draw_box(dialog, 0, 0, height, width, in dialog_inputbox() 73 dlg.dialog.atr, dlg.border.atr); in dialog_inputbox() [all …]
|
D | yesno.c | 27 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 32 print_button(dialog, " Yes ", y, x, selected == 0); in print_buttons() 33 print_button(dialog, " No ", y, x + 13, selected == 1); in print_buttons() 35 wmove(dialog, y, x + 1 + 13 * selected); in print_buttons() 36 wrefresh(dialog); in print_buttons() 45 WINDOW *dialog; in dialog_yesno() local 59 dialog = newwin(height, width, y, x); in dialog_yesno() 60 keypad(dialog, TRUE); in dialog_yesno() 62 draw_box(dialog, 0, 0, height, width, in dialog_yesno() 63 dlg.dialog.atr, dlg.border.atr); in dialog_yesno() [all …]
|
D | textbox.c | 38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument 42 print_position(dialog); in refresh_text_box() 43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box() 44 wrefresh(dialog); in refresh_text_box() 57 WINDOW *dialog, *box; in dialog_textbox() local 91 dialog = newwin(height, width, y, x); in dialog_textbox() 92 keypad(dialog, TRUE); in dialog_textbox() 97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox() 98 wattrset(box, dlg.dialog.atr); in dialog_textbox() 99 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox() [all …]
|
D | checklist.c | 95 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument 100 print_button(dialog, "Select", y, x, selected == 0); in print_buttons() 101 print_button(dialog, " Help ", y, x + 14, selected == 1); in print_buttons() 103 wmove(dialog, y, x + 1 + 14 * selected); in print_buttons() 104 wrefresh(dialog); in print_buttons() 116 WINDOW *dialog, *list; in dialog_checklist() local 142 dialog = newwin(height, width, y, x); in dialog_checklist() 143 keypad(dialog, TRUE); in dialog_checklist() 145 draw_box(dialog, 0, 0, height, width, in dialog_checklist() 146 dlg.dialog.atr, dlg.border.atr); in dialog_checklist() [all …]
|
D | menubox.c | 189 WINDOW *dialog, *menu; in dialog_menu() local 209 dialog = newwin(height, width, y, x); in dialog_menu() 210 keypad(dialog, TRUE); in dialog_menu() 212 draw_box(dialog, 0, 0, height, width, in dialog_menu() 213 dlg.dialog.atr, dlg.border.atr); in dialog_menu() 214 wattrset(dialog, dlg.border.atr); in dialog_menu() 215 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_menu() 217 waddch(dialog, ACS_HLINE); in dialog_menu() 218 wattrset(dialog, dlg.dialog.atr); in dialog_menu() 219 wbkgdset(dialog, dlg.dialog.atr & A_COLOR); in dialog_menu() [all …]
|
/third_party/ltp/ |
D | ltpmenu | 83 dialog --backtitle "Linux Test Project Control Centre" \ 105 dialog --backtitle "Linux Test Project Control Centre" \ 170 dialog --clear 171 dialog --backtitle "Linux Test Project Control Centre" \ 178 dialog --clear 179 dialog --backtitle "Linux Test Project Control Centre" \ 183 dialog --backtitle "Linux Test Project Control Centre" \ 201 dialog --clear 202 dialog --backtitle "Linux Test Project Control Centre" \ 220 dialog --backtitle "Linux Test Project Control Centre"\ [all …]
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/ |
D | AboutDialog.java | 17 private static JDialog dialog = null; field in AboutDialog 20 if (dialog == null) { in showDialog() 21 dialog = new JDialog(parent, Resources.getTranslation("dialog_title_about_rbmanager"), false); in showDialog() 24 dialog.setVisible(true); in showDialog() 28 dialog.getContentPane().setLayout(new BorderLayout()); in initComponents() 53 dialog.getContentPane().add(logoLabel, BorderLayout.WEST); in initComponents() 54 dialog.getContentPane().add(panel, BorderLayout.CENTER); in initComponents() 56 dialog.addMouseListener(new MouseAdapter() { in initComponents() 63 dialog.pack(); in initComponents() 64 Point parentLoc = dialog.getParent().getLocation(); in initComponents() [all …]
|
D | BundleItemCreationDialog.java | 141 BundleItemCreationDialog dialog = this; in processKeyEvent() local 143 if (dialog.item == null) success = dialog.createItem(); in processKeyEvent() 144 else success = dialog.editItem(); in processKeyEvent() 149 JOptionPane.showMessageDialog(dialog, alert, Resources.getTranslation("error"), in processKeyEvent() 152 ((RBManagerGUI)dialog.getParent()).updateDisplayPanels(); in processKeyEvent() 153 ((RBManagerGUI)dialog.getParent()).invalidate(); in processKeyEvent() 155 dialog.setVisible(false); in processKeyEvent() 156 dialog.dispose(); in processKeyEvent() 305 …JDialog dialog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent(… in initComponents() 306 dialog.setVisible(false); in initComponents() [all …]
|
D | BundleGroupEditDialog.java | 103 …JDialog dialog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent(… in initComponents() 104 dialog.setVisible(false); in initComponents() 105 dialog.dispose(); in initComponents() 111 BundleGroupEditDialog dialog = in initComponents() 113 boolean success = dialog.editGroup(); in initComponents() 116 JOptionPane.showMessageDialog(dialog, alert, Resources.getTranslation("error_internal"), in initComponents() 119 dialog.setVisible(false); in initComponents() 120 dialog.dispose(); in initComponents()
|
D | BundleGroupCreationDialog.java | 101 …JDialog dialog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent(… in initComponents() 102 dialog.setVisible(false); in initComponents() 103 dialog.dispose(); in initComponents() 109 BundleGroupCreationDialog dialog = in initComponents() 111 boolean success = dialog.createGroup(); in initComponents() 115 …JOptionPane.showMessageDialog(dialog, alert, Resources.getTranslation("error"), JOptionPane.ERROR_… in initComponents() 117 dialog.setVisible(false); in initComponents() 118 dialog.dispose(); in initComponents()
|
/third_party/lzma/CPP/7zip/UI/GUI/ |
D | ExtractGUI.cpp | 204 CExtractDialog dialog; in ExtractGUI() local 214 dialog.DirPath = fs2us(outputDirFull); in ExtractGUI() 216 dialog.OverwriteMode = options.OverwriteMode; in ExtractGUI() 217 dialog.OverwriteMode_Force = options.OverwriteMode_Force; in ExtractGUI() 218 dialog.PathMode = options.PathMode; in ExtractGUI() 219 dialog.PathMode_Force = options.PathMode_Force; in ExtractGUI() 220 dialog.ElimDup = options.ElimDup; in ExtractGUI() 223 dialog.ArcPath = archivePathsFull[0]; in ExtractGUI() 227 dialog.NtSecurity = options.NtOptions.NtSecurity; in ExtractGUI() 229 dialog.Password = extractCallback->Password; in ExtractGUI() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | ttmlenc.c | 84 ASSDialog *dialog; in ttml_encode_frame() local 100 dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); in ttml_encode_frame() 102 for (; dialog && num--; dialog++) { in ttml_encode_frame() 104 dialog->text); in ttml_encode_frame() 120 dialog = ff_ass_split_dialog2(s->ass_ctx, ass); in ttml_encode_frame() 121 if (!dialog) in ttml_encode_frame() 126 dialog->text); in ttml_encode_frame() 134 dialog->text, in ttml_encode_frame() 138 ff_ass_free_dialog(&dialog); in ttml_encode_frame() 143 ff_ass_free_dialog(&dialog); in ttml_encode_frame()
|
D | webvttenc.c | 161 ASSDialog *dialog; in webvtt_encode_frame() local 177 dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); in webvtt_encode_frame() 179 for (; dialog && num--; dialog++) { in webvtt_encode_frame() 180 webvtt_style_apply(s, dialog->style); in webvtt_encode_frame() 181 ff_ass_split_override_codes(&webvtt_callbacks, s, dialog->text); in webvtt_encode_frame() 185 dialog = ff_ass_split_dialog2(s->ass_ctx, ass); in webvtt_encode_frame() 186 if (!dialog) in webvtt_encode_frame() 188 webvtt_style_apply(s, dialog->style); in webvtt_encode_frame() 189 ff_ass_split_override_codes(&webvtt_callbacks, s, dialog->text); in webvtt_encode_frame() 190 ff_ass_free_dialog(&dialog); in webvtt_encode_frame()
|
D | srtenc.c | 234 ASSDialog *dialog; in encode_frame() local 250 dialog = ff_ass_split_dialog(s->ass_ctx, ass, 0, &num); in encode_frame() 251 for (; dialog && num--; dialog++) { in encode_frame() 254 srt_style_apply(s, dialog->style); in encode_frame() 255 ff_ass_split_override_codes(cb, s, dialog->text); in encode_frame() 259 dialog = ff_ass_split_dialog2(s->ass_ctx, ass); in encode_frame() 260 if (!dialog) in encode_frame() 264 srt_style_apply(s, dialog->style); in encode_frame() 265 ff_ass_split_override_codes(cb, s, dialog->text); in encode_frame() 266 ff_ass_free_dialog(&dialog); in encode_frame()
|
/third_party/python/Doc/library/ |
D | dialog.rst | 9 :synopsis: Simple dialog windows 32 Override to construct the dialog's interface and return the widget that 59 The following classes and functions provide file dialog windows that combine a 64 | *parent* - the window to place the dialog on top of 68 | *initialdir* - the directory that the dialog starts in 70 | *initialfile* - the file selected upon opening of the dialog 81 The below functions when called create a modal, native look-and-feel dialog, 88 The above two functions create an :class:`Open` dialog and return the opened 93 Create a :class:`SaveAs` dialog and return a file object opened in write-only mode. 98 The above two functions create an :class:`Open` dialog and return the [all …]
|
D | tkinter.colorchooser.rst | 1 :mod:`tkinter.colorchooser` --- Color choosing dialog 6 :synopsis: Color choosing dialog 13 as an interface to the native color picker dialog. ``Chooser`` implements 14 a modal color choosing dialog window. The ``Chooser`` class inherits from 21 Create a color choosing dialog. A call to this method will show the window, 29 Tkinter standard dialog module
|
/third_party/cef/tests/cefclient/browser/ |
D | dialog_handler_gtk.cc | 24 std::string GetPromptText(GtkDialog* dialog) { in GetPromptText() argument 26 g_object_get_data(G_OBJECT(dialog), kPromptTextId)); in GetPromptText() 276 GtkWidget* dialog = gtk_file_chooser_dialog_new( in OnFileDialogContinue() local 281 gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), TRUE); in OnFileDialogContinue() 285 GTK_FILE_CHOOSER(dialog), in OnFileDialogContinue() 290 GTK_FILE_CHOOSER(dialog), !(params.mode & FILE_DIALOG_HIDEREADONLY_FLAG)); in OnFileDialogContinue() 299 gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), file_path.data()); in OnFileDialogContinue() 307 gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(dialog), file_name); in OnFileDialogContinue() 312 AddFilters(GTK_FILE_CHOOSER(dialog), params.accept_filters, true, &filters); in OnFileDialogContinue() 314 gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), in OnFileDialogContinue() [all …]
|
/third_party/cef/libcef/browser/native/ |
D | javascript_dialog_runner_win.cc | 21 INT_PTR CALLBACK CefJavaScriptDialogRunnerWin::DialogProc(HWND dialog, in DialogProc() argument 27 SetWindowLongPtr(dialog, DWLP_USER, static_cast<LONG_PTR>(lparam)); in DialogProc() 30 owner->dialog_win_ = dialog; in DialogProc() 31 SetDlgItemText(dialog, IDC_DIALOGTEXT, owner->message_text_.c_str()); in DialogProc() 33 SetDlgItemText(dialog, IDC_PROMPTEDIT, in DialogProc() 40 GetWindowLongPtr(dialog, DWLP_USER)); in DialogProc() 53 GetWindowLongPtr(dialog, DWLP_USER)); in DialogProc() 63 GetWindowTextLength(GetDlgItem(dialog, IDC_PROMPTEDIT)) + 1; in DialogProc() 67 GetDlgItemText(dialog, IDC_PROMPTEDIT, &user_input[0], length); in DialogProc()
|