WindowWrapper LabelWrapper TextFieldWrapper TextAreaWrapper ListBoxWrapper RadioButtonWrapper CheckBoxWrapper '''.split() Application=1 ButtonWrapper=1 WindowWrapper=1 LabelWrapper=1 TextFieldWrapper=1 TextAreaWrapper=1 ListBoxWrapper=1 RadioButtonWrapper=1 CheckBoxWrapper=1 ################################################################ # Cut for 0.2. #from manygui.backends import * #__all__ = manygui.__all__ import manygui.backends.txtutils.txtgui as txtgui txtgui.setScreenPackage('text') from manygui.backends.txtutils.txtgui import *
TextAreaWrapper=1 ListBoxWrapper=1 RadioButtonWrapper=1 CheckBoxWrapper=1 from manygui.Exceptions import Error from manygui.Utils import setLogFile setLogFile('curses.txt') import sys import os if hasattr(sys,'ps1'): try: os.environ['ANYGUI_FORCE_CURSES'] except KeyError: raise ImportError("This appears to be an interactive session; curses disabled.") import atexit def _cleanup(): try: scr_curses.scr_quit() except: pass atexit.register(_cleanup) import manygui.backends.txtutils.txtgui as txtgui txtgui.setScreenPackage("curses") from manygui.backends.txtutils.txtgui import *