desktop

Changeset

58:0e0290004d92
2007-12-17 paulb raw files shortlog changelog graph [project @ 2007-12-17 20:19:38 by paulb] Improved docstrings. rel-0-3
desktop/dialog.py (file)
     1.1 --- a/desktop/dialog.py	Mon Dec 17 20:15:37 2007 +0000
     1.2 +++ b/desktop/dialog.py	Mon Dec 17 20:19:38 2007 +0000
     1.3 @@ -264,6 +264,10 @@
     1.4          indicating selections of one or more items (for RadioList, CheckList),
     1.5          or a value indicating true or false (for Question, Warning, Message,
     1.6          Error).
     1.7 +
     1.8 +        Where a string value may be expected but no choice is made, an empty
     1.9 +        string may be returned. Similarly, where a list of values is expected
    1.10 +        but no choice is made, an empty list may be returned.
    1.11          """
    1.12  
    1.13          # Decide on the desktop environment in use.
    1.14 @@ -518,7 +522,8 @@
    1.15      """
    1.16      A text file input box.
    1.17      Options: filename, text, width (in characters), height (in characters)
    1.18 -    Response: any text returned by the dialogue program
    1.19 +    Response: any text returned by the dialogue program (typically an empty
    1.20 +              string)
    1.21      """
    1.22  
    1.23      name = "textfile"