ports/devel/py-dialog3/files/patch-examples_with-autowidgetsize_demo.py
Jung-uk Kim 27157a10a0 pythondialog 3 is a Python 3 wrapper for the dialog utility originally
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/
2019-09-20 00:56:43 +00:00

11 lines
638 B
Python

--- examples/with-autowidgetsize/demo.py.orig 2016-05-07 16:38:28 UTC
+++ examples/with-autowidgetsize/demo.py
@@ -340,7 +340,7 @@ class MyApp:
# widget-producing methods behave as if width=0, height=0, etc. had
# been passed, except where these parameters are explicitely specified
# with different values.
- self.Dialog_instance = dialog.Dialog(dialog="dialog",
+ self.Dialog_instance = dialog.Dialog(dialog="cdialog",
autowidgetsize=True)
# See the module docstring at the top of the file to understand the
# purpose of MyDialog.