summaryrefslogtreecommitdiff
path: root/silx/gui/widgets/ThreadPoolPushButton.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/gui/widgets/ThreadPoolPushButton.py')
-rw-r--r--silx/gui/widgets/ThreadPoolPushButton.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/silx/gui/widgets/ThreadPoolPushButton.py b/silx/gui/widgets/ThreadPoolPushButton.py
index 29e831d..4dba488 100644
--- a/silx/gui/widgets/ThreadPoolPushButton.py
+++ b/silx/gui/widgets/ThreadPoolPushButton.py
@@ -102,6 +102,8 @@ class ThreadPoolPushButton(WaitingPushButton):
>>> button.setCallable(math.pow, 2, 16)
>>> button.succeeded.connect(print) # python3
+ .. image:: img/ThreadPoolPushButton.png
+
>>> # Compute a wrong value
>>> import math
>>> button = ThreadPoolPushButton(text="Compute sqrt(-1)")