Skip to content

Commit aa5b875

Browse files
committed
STYLE: Improve slicer.util.delayDisplay function documentation
git-svn-id: http://svn.slicer.org/Slicer4/trunk@27715 3bd1e089-480b-0410-8dfb-8563597acbee
1 parent 5049306 commit aa5b875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Base/Python/slicer/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,8 @@ def unicodeify(s):
10641064

10651065
def delayDisplay(message,autoCloseMsec=1000):
10661066
"""Display an information message in a popup window for a short time.
1067-
If autoCloseMsec>0 then the window is closed after waiting for autoCloseMsec milliseconds
1067+
If autoCloseMsec<400, then only slicer.app.processEvents() is called.
1068+
If autoCloseMsec>=400 then the window is closed after waiting for autoCloseMsec milliseconds
10681069
If autoCloseMsec=0 then the window is not closed until the user clicks on it.
10691070
"""
10701071
import qt, slicer

0 commit comments

Comments
 (0)