]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
add setColor description to SnackScreen docstring (Greg Swift)
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 3 Jul 2008 10:46:47 +0000 (12:46 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 3 Jul 2008 10:46:47 +0000 (12:46 +0200)
snack.py

index 23fadcc547ebec590a9f3679498716a1a7866e77..7e7cdc03a4aaa75168fc5adcad0a1e64b343c453 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -441,6 +441,11 @@ class SnackScreen:
     - suspendcallback(self,cb, data=None) : set callback. data=data to pass to cb.
     - openWindow(self,left, top, width, height, title): Open a window.
     - pushHelpLine(self,text): put help line on screen. Returns current help line if text=None
+    - setColor(self, colorset, fg, bg): Set foreground and background colors;
+            colorset = key from snack.colorsets,
+            fg & bg = english color names defined by S-Lang
+                (ref: S-Lang Library C Programmer's Guide section:
+                8.4.4.  Setting Character Attributes)
     """
     def __init__(self):
         _snack.init()