Feature or enhancement
Tk 8.7/9.0 added the tk print command, which opens the native platform print dialog to print the contents of a canvas or text widget. tkinter currently has no interface to it.
I propose adding a tk_print() method to tkinter.Canvas and tkinter.Text (the only widgets tk print supports).
This complements the other native dialog wrappers in tkinter (tkinter.colorchooser, tkinter.filedialog, tkinter.fontchooser).
Tk manual: https://www.tcl-lang.org/man/tcl8.7/TkCmd/print.html
Linked PRs
Feature or enhancement
Tk 8.7/9.0 added the
tk printcommand, which opens the native platform print dialog to print the contents of a canvas or text widget. tkinter currently has no interface to it.I propose adding a
tk_print()method totkinter.Canvasandtkinter.Text(the only widgetstk printsupports).This complements the other native dialog wrappers in tkinter (
tkinter.colorchooser,tkinter.filedialog,tkinter.fontchooser).Tk manual: https://www.tcl-lang.org/man/tcl8.7/TkCmd/print.html
Linked PRs