mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
written by Savio Lam, and later rewritten by Thomas E. Dickey. Its purpose is to provide an easy to use, pythonic and comprehensive Python 3 interface to dialog. This allows one to make simple text-mode user interfaces on Unix-like systems. WWW: http://pythondialog.sourceforge.net/
20 lines
740 B
ReStructuredText
20 lines
740 B
ReStructuredText
--- doc/intro/intro.rst.orig 2015-04-04 09:43:57 UTC
|
|
+++ doc/intro/intro.rst
|
|
@@ -8,7 +8,7 @@ A minimal program using pythondialog starts with the c
|
|
|
|
from dialog import Dialog
|
|
|
|
- d = Dialog(dialog="dialog")
|
|
+ d = Dialog(dialog="cdialog")
|
|
|
|
The *dialog* parameter indicates the executable to use to invoke the backend
|
|
(which must be compatible with dialog_). For instance, one might use something
|
|
@@ -181,7 +181,7 @@ improve readability, we obtain the code for our exampl
|
|
# This is almost always a good thing to do at the beginning of your programs.
|
|
locale.setlocale(locale.LC_ALL, '')
|
|
|
|
- d = Dialog(dialog="dialog")
|
|
+ d = Dialog(dialog="cdialog")
|
|
|
|
button_names = {d.OK: "OK",
|
|
d.CANCEL: "Cancel",
|