Skip to content

Commit 7fbbc52

Browse files
committed
Update docs
1 parent 22a3118 commit 7fbbc52

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tkfilebrowser/filebrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self, parent, initialdir="", initialfile="", mode="openfile",
8080
only the files of given filetype will be displayed,
8181
e.g. to allow the user to switch between displaying only PNG or JPG
8282
pictures or dispalying all files:
83-
filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]
83+
``filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]``
8484
8585
okbuttontext : str
8686
text displayed on the validate button, default is "Open".

tkfilebrowser/functions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def askopendirnames(parent=None, title=_("Open"), **kwargs):
8686
only the files of given filetype will be displayed,
8787
e.g. to allow the user to switch between displaying only PNG or JPG
8888
pictures or dispalying all files:
89-
filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]
89+
``filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]``
9090
9191
okbuttontext : str
9292
text displayed on the validate button, default is "Open".
@@ -128,7 +128,7 @@ def askopenfilename(parent=None, title=_("Open"), **kwargs):
128128
only the files of given filetype will be displayed,
129129
e.g. to allow the user to switch between displaying only PNG or JPG
130130
pictures or dispalying all files:
131-
filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]
131+
``filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]``
132132
133133
okbuttontext : str
134134
text displayed on the validate button, default is "Open".
@@ -167,7 +167,7 @@ def askopenfilenames(parent=None, title=_("Open"), **kwargs):
167167
only the files of given filetype will be displayed,
168168
e.g. to allow the user to switch between displaying only PNG or JPG
169169
pictures or dispalying all files:
170-
filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]
170+
``filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]``
171171
172172
okbuttontext : str
173173
text displayed on the validate button, default is "Open".
@@ -212,7 +212,7 @@ def asksaveasfilename(parent=None, title=_("Save As"), **kwargs):
212212
only the files of given filetype will be displayed,
213213
e.g. to allow the user to switch between displaying only PNG or JPG
214214
pictures or dispalying all files:
215-
filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]
215+
``filtypes=[("Pictures", "\*.png|\*.PNG|\*.jpg|\*.JPG'), ("All files", "\*")]``
216216
217217
okbuttontext : str
218218
text displayed on the validate button, default is "Open".

0 commit comments

Comments
 (0)