Package pyraf :: Module urwutil
[hide private]
[frames] | no frames]

Module urwutil

source code

July 2008 - taken from the urwid example script "dialog.py", for the use of the DialogDisplay and the InputDialogDisplay classes. Unsure why this functionality is not delivered with a standard urwid installation, so we will include this file until it comes with urwid. This is slightly modified.

$Id: urwutil.py 1463 2011-06-24 22:58:30Z stsci_embray $

Classes [hide private]
  DialogExit
  DialogDisplay
  InputDialogDisplay
  ListDialogDisplay
  MenuItem
A custom widget for the ListDialog
Functions [hide private]
 
show_usage()
Display a helpful usage message.
source code
Variables [hide private]
  __package__ = 'pyraf'

Imports: sys, urwid