Lines Matching refs:dialog
1190 if _check_valid(dialog, entry, sym, s):
1192 dialog.destroy()
1197 dialog.destroy()
1201 dialog = Toplevel(parent)
1202 dialog.title("Enter {} value".format(TYPE_TO_STR[sym.type]))
1203 dialog.resizable(False, False)
1204 dialog.transient(parent)
1205 dialog.protocol("WM_DELETE_WINDOW", cancel)
1207 ttk.Label(dialog, text=node.prompt[0] + ":") \
1211 entry = ttk.Entry(dialog, width=30)
1220 ttk.Label(dialog, text=range_info) \
1224 ttk.Button(dialog, text="OK", command=ok) \
1228 ttk.Button(dialog, text="Cancel", command=cancel) \
1233 dialog.columnconfigure(0, weight=1)
1235 _center_on_root(dialog)
1247 dialog.wait_visibility()
1248 dialog.grab_set()
1250 dialog.bind("<Return>", ok)
1251 dialog.bind("<KP_Enter>", ok)
1252 dialog.bind("<Escape>", cancel)
1255 parent.wait_window(dialog)
1263 def _center_on_root(dialog): argument
1268 dialog.withdraw()
1271 dialog_width = dialog.winfo_reqwidth()
1272 dialog_height = dialog.winfo_reqheight()
1290 dialog.geometry("+{}+{}".format(x, y))
1292 dialog.deiconify()
1295 def _check_valid(dialog, entry, sym, s): argument
1311 parent=dialog)
1324 parent=dialog)
1781 dialog.destroy()
1787 dialog = Toplevel(_root)
1788 dialog.geometry("+{}+{}".format(
1790 dialog.title("Jump to symbol/choice/menu/comment")
1791 dialog.minsize(128, 128) # See _create_ui()
1792 dialog.transient(_root)
1794 ttk.Label(dialog, text=_JUMP_TO_HELP) \
1798 entry = ttk.Entry(dialog)
1805 ttk.Button(dialog, text="Search", command=search) \
1808 msglabel = ttk.Label(dialog)
1811 panedwindow, tree = _create_kconfig_tree_and_desc(dialog)
1819 jumpto_button = ttk.Button(dialog, text="Jump to selected item",
1823 dialog.columnconfigure(0, weight=1)
1825 dialog.rowconfigure(3, weight=1)
1829 dialog.geometry(dialog.geometry())
1832 dialog.wait_visibility()
1833 dialog.grab_set()
1841 dialog.bind("<Escape>", lambda _: dialog.destroy())
1844 _root.wait_window(dialog)