curses deletln() method gives AttributeError
Ron Johnson, Jr.
ronjohn at gs.verio.net
Mon Sep 11 15:34:08 EDT 2000
Hello,
The statement main.win.deletln() fails with this traceback:
Traceback (innermost last):
File "./curstst", line 169, in ?
fm.mainloop() # Enter the main loop
File "./curstst", line 140, in mainloop
self.main_funcs[c](main, stat)
File "./curstst", line 109, in curs_dn
main.win.deletln()
AttributeError: deletln
Here's my version info:
Python 1.5.2 (#1, Dec 8 1999, 21:20:51)
[GCC 2.95.2 19991024 (release)] on linux-i386
My situation is is that I have an an object name "main". An
attribute of main is a subwindow "win", and main.win is full
of text. When I arrow down to the last line, I main.win.move(0,0)
then call main.win.deletln(). Calling main.win.clrtoeol()
works, but it's not what I want...
Any hints?
TIA,
Ron
--
+----------------------------------------------------------+
| Ron Johnson, Jr. Home: ronjohn at gs.verio.net |
| Jefferson, LA USA WWW : ronjohnsonjr at yahoo.com |
| |
| Most overused words: feel, cool/kewl, fun, myBlah.com |
| Most underused word: think |
+----------------------------------------------------------+
More information about the Python-list
mailing list