Skip to content

Commit

Permalink
Add more detail to the docstring for ShowBalloon()
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinD42 committed Sep 13, 2017
1 parent 9effaa0 commit 05d3fe2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions etg/taskbar.py
Expand Up @@ -74,6 +74,15 @@ def run():
doc="""\
Show a balloon notification (the icon must have been already
initialized using SetIcon). Only implemented for Windows.
The ``title`` and ``text`` parameters are limited to 63 and 255
characters respectively, ``msec`` is the timeout, in milliseconds,
before the balloon disappears (will be clamped down to the allowed
10-30s range by Windows if it's outside it) and ``flags`` can
include wxICON_ERROR/INFO/WARNING to show a corresponding icon.
Returns ``True`` if balloon was shown, ``False`` on error (incorrect
parameters or function unsupported by OS).
""",
body="""\
#ifdef __WXMSW__
Expand Down

0 comments on commit 05d3fe2

Please sign in to comment.