Home
last modified time | relevance | path

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

1234567

/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 …]
Dtest_configdialog.py27 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/
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/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 …]
DBundleGroupCreationDialog.java101 …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()
DBundleGroupEditDialog.java103 …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()
DResourceCreationDialog.java157 …JDialog dialog = (JDialog)((JButton)ev.getSource()).getParent().getParent().getParent().getParent(… in initComponents()
158 dialog.setVisible(false); in initComponents()
159 dialog.dispose(); in initComponents()
165 ResourceCreationDialog dialog = in initComponents()
167 boolean success = dialog.createResource(); in initComponents()
171 …JOptionPane.showMessageDialog(dialog, alert, Resources.getTranslation("error"), JOptionPane.ERROR_… in initComponents()
173 dialog.setVisible(false); in initComponents()
174 dialog.dispose(); in initComponents()
/third_party/lzma/CPP/7zip/UI/GUI/
DExtractGUI.cpp205 CExtractDialog dialog; in ExtractGUI() local
215 dialog.DirPath = fs2us(outputDirFull); in ExtractGUI()
217 dialog.OverwriteMode = options.OverwriteMode; in ExtractGUI()
218 dialog.OverwriteMode_Force = options.OverwriteMode_Force; in ExtractGUI()
219 dialog.PathMode = options.PathMode; in ExtractGUI()
220 dialog.PathMode_Force = options.PathMode_Force; in ExtractGUI()
221 dialog.ElimDup = options.ElimDup; in ExtractGUI()
224 dialog.ArcPath = archivePathsFull[0]; in ExtractGUI()
228 dialog.NtSecurity = options.NtOptions.NtSecurity; in ExtractGUI()
230 dialog.Password = extractCallback->Password; in ExtractGUI()
[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
98 dialog = ff_ass_split_dialog(s->ass_ctx, ass); in ttml_encode_frame()
99 if (!dialog) in ttml_encode_frame()
102 if (dialog->style) { in ttml_encode_frame()
104 av_bprint_escape(&s->buffer, dialog->style, NULL, in ttml_encode_frame()
110 ret = ff_ass_split_override_codes(&ttml_callbacks, s, dialog->text); in ttml_encode_frame()
117 dialog->text, in ttml_encode_frame()
121 ff_ass_free_dialog(&dialog); in ttml_encode_frame()
126 if (dialog->style) in ttml_encode_frame()
129 ff_ass_free_dialog(&dialog); in ttml_encode_frame()
Dwebvttenc.c162 ASSDialog *dialog; in webvtt_encode_frame() local
175 dialog = ff_ass_split_dialog(s->ass_ctx, ass); in webvtt_encode_frame()
176 if (!dialog) in webvtt_encode_frame()
178 webvtt_style_apply(s, dialog->style); in webvtt_encode_frame()
179 ff_ass_split_override_codes(&webvtt_callbacks, s, dialog->text); in webvtt_encode_frame()
180 ff_ass_free_dialog(&dialog); in webvtt_encode_frame()
/third_party/lzma/CPP/7zip/UI/FileManager/
DLangUtils.h24 void LangSetDlgItemText(HWND dialog, UInt32 controlID, UInt32 langID);
25 void LangSetDlgItems(HWND dialog, const UInt32 *ids, unsigned numItems);
26 void LangSetDlgItems_Colon(HWND dialog, const UInt32 *ids, unsigned numItems);
27 void LangSetDlgItems_RemoveColon(HWND dialog, const UInt32 *ids, unsigned numItems);
DBrowseDialog.cpp845 CBrowseDialog dialog; in MyBrowseForFolder() local
846 dialog.FolderMode = true; in MyBrowseForFolder()
848 dialog.Title = title; in MyBrowseForFolder()
850 dialog.FilePath = path; in MyBrowseForFolder()
851 if (dialog.Create(owner) != IDOK) in MyBrowseForFolder()
853 resultPath = dialog.FilePath; in MyBrowseForFolder()
940 CBrowseDialog dialog; in BrowseForFile() local
942 dialog.FolderMode = false; in BrowseForFile()
943 dialog.SaveMode = SaveMode; in BrowseForFile()
944 dialog.FilterIndex = FilterIndex; in BrowseForFile()
[all …]

1234567