Lines Matching refs:dialog
1184 if _check_valid(dialog, entry, sym, s):
1186 dialog.destroy()
1191 dialog.destroy()
1195 dialog = Toplevel(parent)
1196 dialog.title("Enter {} value".format(TYPE_TO_STR[sym.type]))
1197 dialog.resizable(False, False)
1198 dialog.transient(parent)
1199 dialog.protocol("WM_DELETE_WINDOW", cancel)
1201 ttk.Label(dialog, text=node.prompt[0] + ":") \
1205 entry = ttk.Entry(dialog, width=30)
1214 ttk.Label(dialog, text=range_info) \
1218 ttk.Button(dialog, text="OK", command=ok) \
1222 ttk.Button(dialog, text="Cancel", command=cancel) \
1227 dialog.columnconfigure(0, weight=1)
1229 _center_on_root(dialog)
1241 dialog.wait_visibility()
1242 dialog.grab_set()
1244 dialog.bind("<Return>", ok)
1245 dialog.bind("<KP_Enter>", ok)
1246 dialog.bind("<Escape>", cancel)
1249 parent.wait_window(dialog)
1257 def _center_on_root(dialog): argument
1262 dialog.withdraw()
1265 dialog_width = dialog.winfo_reqwidth()
1266 dialog_height = dialog.winfo_reqheight()
1284 dialog.geometry("+{}+{}".format(x, y))
1286 dialog.deiconify()
1289 def _check_valid(dialog, entry, sym, s): argument
1305 parent=dialog)
1318 parent=dialog)
1775 dialog.destroy()
1781 dialog = Toplevel(_root)
1782 dialog.geometry("+{}+{}".format(
1784 dialog.title("Jump to symbol/choice/menu/comment")
1785 dialog.minsize(128, 128) # See _create_ui()
1786 dialog.transient(_root)
1788 ttk.Label(dialog, text=_JUMP_TO_HELP) \
1792 entry = ttk.Entry(dialog)
1799 ttk.Button(dialog, text="Search", command=search) \
1802 msglabel = ttk.Label(dialog)
1805 panedwindow, tree = _create_kconfig_tree_and_desc(dialog)
1813 jumpto_button = ttk.Button(dialog, text="Jump to selected item",
1817 dialog.columnconfigure(0, weight=1)
1819 dialog.rowconfigure(3, weight=1)
1823 dialog.geometry(dialog.geometry())
1826 dialog.wait_visibility()
1827 dialog.grab_set()
1835 dialog.bind("<Escape>", lambda _: dialog.destroy())
1838 _root.wait_window(dialog)