Skip to content

Commit

Permalink
document additional params
Browse files Browse the repository at this point in the history
  • Loading branch information
richardsheridan committed Oct 24, 2020
1 parent a363c04 commit 041e5a7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tqdm/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,20 @@ class tqdm_tk(std_tqdm): # pragma: no cover
"""

def __init__(self, *args, **kwargs):
"""
This class accepts the following parameters *in addition* to
the parameters accepted by tqdm.
Parameters
----------
grab : bool, optional
Grab the input across all windows of the process.
tk_parent : tkinter.Wm, optional
Parent Tk window.
cancel_callback : Callable, optional
Create a cancel button and set cancel_callback to be called
when the cancel or window close button is clicked.
"""
try:
grab = kwargs.pop("grab")
except KeyError:
Expand Down

0 comments on commit 041e5a7

Please sign in to comment.