Lines Matching refs:dialog
1191 if _check_valid(dialog, entry, sym, s):
1193 dialog.destroy()
1198 dialog.destroy()
1202 dialog = Toplevel(parent)
1203 dialog.title("Enter {} value".format(TYPE_TO_STR[sym.type]))
1204 dialog.resizable(False, False)
1205 dialog.transient(parent)
1206 dialog.protocol("WM_DELETE_WINDOW", cancel)
1208 ttk.Label(dialog, text=node.prompt[0] + ":") \
1212 entry = ttk.Entry(dialog, width=30)
1221 ttk.Label(dialog, text=range_info) \
1225 ttk.Button(dialog, text="OK", command=ok) \
1229 ttk.Button(dialog, text="Cancel", command=cancel) \
1234 dialog.columnconfigure(0, weight=1)
1236 _center_on_root(dialog)
1248 dialog.wait_visibility()
1249 dialog.grab_set()
1251 dialog.bind("<Return>", ok)
1252 dialog.bind("<KP_Enter>", ok)
1253 dialog.bind("<Escape>", cancel)
1256 parent.wait_window(dialog)
1264 def _center_on_root(dialog): argument
1269 dialog.withdraw()
1272 dialog_width = dialog.winfo_reqwidth()
1273 dialog_height = dialog.winfo_reqheight()
1291 dialog.geometry("+{}+{}".format(x, y))
1293 dialog.deiconify()
1296 def _check_valid(dialog, entry, sym, s): argument
1312 parent=dialog)
1325 parent=dialog)
1782 dialog.destroy()
1788 dialog = Toplevel(_root)
1789 dialog.geometry("+{}+{}".format(
1791 dialog.title("Jump to symbol/choice/menu/comment")
1792 dialog.minsize(128, 128) # See _create_ui()
1793 dialog.transient(_root)
1795 ttk.Label(dialog, text=_JUMP_TO_HELP) \
1799 entry = ttk.Entry(dialog)
1806 ttk.Button(dialog, text="Search", command=search) \
1809 msglabel = ttk.Label(dialog)
1812 panedwindow, tree = _create_kconfig_tree_and_desc(dialog)
1820 jumpto_button = ttk.Button(dialog, text="Jump to selected item",
1824 dialog.columnconfigure(0, weight=1)
1826 dialog.rowconfigure(3, weight=1)
1830 dialog.geometry(dialog.geometry())
1833 dialog.wait_visibility()
1834 dialog.grab_set()
1842 dialog.bind("<Escape>", lambda _: dialog.destroy())
1845 _root.wait_window(dialog)