Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 25 of 251) sorted by relevance

1234567891011

/third_party/python/Lib/idlelib/idle_test/
Dtest_query.py44 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 …]
Dtest_config_key.py37 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 …]
Dtest_searchbase.py41 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 …]
Dtest_help_about.py29 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 …]
Dtest_replace.py25 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 …]
Dtest_search.py29 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 …]
/third_party/toybox/kconfig/lxdialog/
Dinputbox.c29 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 …]
Dyesno.c27 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 …]
Dtextbox.c38 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 …]
Dchecklist.c95 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 …]
Dmenubox.c189 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/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsmessagebox.c90 static SDL_bool ExpandDialogSpace(WIN_DialogData *dialog, size_t space) in ExpandDialogSpace() argument
92 size_t size = dialog->size; in ExpandDialogSpace()
97 while ((dialog->used + space) > size) { in ExpandDialogSpace()
101 if (size > dialog->size) { in ExpandDialogSpace()
102 void *data = SDL_realloc(dialog->data, size); in ExpandDialogSpace()
107 dialog->data = data; in ExpandDialogSpace()
108 dialog->size = size; in ExpandDialogSpace()
109 dialog->lpDialog = (DLGTEMPLATEEX*)dialog->data; in ExpandDialogSpace()
114 static SDL_bool AlignDialogData(WIN_DialogData *dialog, size_t size) in AlignDialogData() argument
116 size_t padding = (dialog->used % size); in AlignDialogData()
[all …]
/third_party/ltp/
Dltpmenu83 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/
DAboutDialog.java17 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 …]
DBundleItemCreationDialog.java141 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 …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Ddialog.dart24 /// A material design dialog.
26 /// This dialog widget does not have any opinion about the contents of the
27 /// dialog. Rather than using this widget directly, consider using [AlertDialog]
35 /// * [showDialog], which actually displays the dialog and returns its result.
38 /// Creates a dialog.
51 /// {@template flutter.material.dialog.backgroundColor}
60 /// {@template flutter.material.dialog.elevation}
64 /// dialog's elevation is 24.0.
70 /// into the space that the dialog is placed in.
76 /// into the space that the dialog is placed in.
[all …]
/third_party/flutter/flutter/packages/flutter/test/material/
Ddialog_theme_test.dart9 MaterialApp _appWithAlertDialog(WidgetTester tester, AlertDialog dialog, { ThemeData theme }) {
22 return RepaintBoundary(key: _painterKey, child: dialog);
67 const AlertDialog dialog = AlertDialog(
73 await tester.pumpWidget(_appWithAlertDialog(tester, dialog, theme: theme));
81 testWidgets('Custom dialog elevation', (WidgetTester tester) async {
83 const AlertDialog dialog = AlertDialog(
90 _appWithAlertDialog(tester, dialog, theme: theme)
99 testWidgets('Custom dialog shape', (WidgetTester tester) async {
102 const AlertDialog dialog = AlertDialog(
109 _appWithAlertDialog(tester, dialog, theme: theme)
[all …]
Ddialog_test.dart14 MaterialApp _appWithAlertDialog(WidgetTester tester, AlertDialog dialog, { ThemeData theme }) {
27 return dialog;
52 final AlertDialog dialog = AlertDialog(
67 await tester.pumpWidget(_appWithAlertDialog(tester, dialog));
79 const AlertDialog dialog = AlertDialog(
83 …await tester.pumpWidget(_appWithAlertDialog(tester, dialog, theme: ThemeData(brightness: Brightnes…
93 const AlertDialog dialog = AlertDialog(
98 …await tester.pumpWidget(_appWithAlertDialog(tester, dialog, theme: ThemeData(brightness: Brightnes…
109 testWidgets('Custom dialog elevation', (WidgetTester tester) async {
111 const AlertDialog dialog = AlertDialog(
[all …]
/third_party/python/Doc/library/
Ddialog.rst9 :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 …]
Dtkinter.colorchooser.rst1 :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/ffmpeg/libavcodec/
Dttmlenc.c84 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()
Dwebvttenc.c161 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()
/third_party/cef/tests/cefclient/browser/
Ddialog_handler_gtk.cc24 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/
Djavascript_dialog_runner_win.cc21 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()
/third_party/flutter/skia/third_party/externals/sdl/src/video/winrt/
DSDL_winrtmessagebox.cpp75 …MessageDialog ^ dialog = ref new MessageDialog(WINRT_UTF8ToPlatformString(messageboxdata->message)… in WINRT_ShowMessageBox()
76 dialog->Title = WINRT_UTF8ToPlatformString(messageboxdata->title); in WINRT_ShowMessageBox()
80 dialog->Commands->Append(button); in WINRT_ShowMessageBox()
82 dialog->CancelCommandIndex = i; in WINRT_ShowMessageBox()
85 dialog->DefaultCommandIndex = i; in WINRT_ShowMessageBox()
91 auto operation = dialog->ShowAsync(); in WINRT_ShowMessageBox()

1234567891011