(font)
| 15655 | containing_frame.bind_all("<Shift-MouseWheel>", xscroll_old, add="+") |
| 15656 | |
| 15657 | def _char_width_in_pixels(font): |
| 15658 | return tkinter.font.Font(font=font).measure('A') # single character width |
| 15659 | |
| 15660 | def _char_height_in_pixels(font): |
| 15661 | return tkinter.font.Font(font=font).metrics('linespace') |