tkinter.PanedWindow 的 sashcursor 有哪些可用的选择?
What are the available choices for tkinter.PanedWindow's sashcursor?
我找不到全面的 Tkinter 小部件文档。
根据this tutorial,PanedWindow有一个sashcursor
选项,但没有提供可用的选项。
我在TK's docs里看了看,发现sb_h_double_arrow
这些TK选项不能直接用在Tkinter上
您可以使用系统支持的任何有效游标名称。
例如:
pw = tk.PanedWindow(sashcursor="gumby")
在您的问题中,您声称无法使用 sb_h_double_arrow
,但事实并非如此。例如,除非您的系统出于某种原因没有安装光标,否则这应该有效:
pw = tk.PanedWindow(sashcursor="sb_h_double_arrow")
可在 tcl/tk 文档中找到受支持游标的最终列表,该文档可在此处找到:https://www.tcl.tk/man/tcl8.4/TkCmd/cursors.htm
可以在此处找到包含每个光标图像的文档版本:http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/cursors.html
我找不到全面的 Tkinter 小部件文档。
根据this tutorial,PanedWindow有一个sashcursor
选项,但没有提供可用的选项。
我在TK's docs里看了看,发现sb_h_double_arrow
这些TK选项不能直接用在Tkinter上
您可以使用系统支持的任何有效游标名称。
例如:
pw = tk.PanedWindow(sashcursor="gumby")
在您的问题中,您声称无法使用 sb_h_double_arrow
,但事实并非如此。例如,除非您的系统出于某种原因没有安装光标,否则这应该有效:
pw = tk.PanedWindow(sashcursor="sb_h_double_arrow")
可在 tcl/tk 文档中找到受支持游标的最终列表,该文档可在此处找到:https://www.tcl.tk/man/tcl8.4/TkCmd/cursors.htm
可以在此处找到包含每个光标图像的文档版本:http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/cursors.html