[英]Official Documentation on tkinter.filedialog
Where can I find official documentation on tkinter.filedialog
module including all the methods and options?我在哪里可以找到有关tkinter.filedialog
模块的官方文档,包括所有方法和选项?
Here I can find just a reference to it.在这里,我只能找到对它的引用。
https://docs.python.org/3/library/tkinter.html?highlight=filedialog https://docs.python.org/3/library/tkinter.html?highlight=filedialog
By @progmatico,通过@progmatico,
Those options are the same used by the tk/tcl toolkit.这些选项与 tk/tcl 工具包使用的相同。 Python just passes the options to that library, while opening the corresponding dialogs. Python 只是将选项传递给该库,同时打开相应的对话框。 See for example options for the correponding tk_chooseDir dialog in here .请参阅此处的相应 tk_chooseDir 对话框的示例选项。 Pass your options as keywords without the -
.将您的选项作为不带-
关键字传递。 More help for other widgets here此处为其他小部件提供更多帮助
You can find everything in the web page you mentioned:您可以在您提到的网页中找到所有内容:
https://docs.python.org/3/library/tkinter.html?highlight=filedialog https://docs.python.org/3/library/tkinter.html?highlight=filedialog
There is a link to the source code at the beginning of every module.每个模块的开头都有一个指向源代码的链接。 If you are looking for the options, just search for the word 'options' on the code.如果您正在寻找选项,只需在代码中搜索“选项”一词。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.