Title: gh-59396: Modernize tkinter.simpledialog by serhiy-storchaka · Pull Request #151848 · python/cpython · GitHub
Open Graph Title: gh-59396: Modernize tkinter.simpledialog by serhiy-storchaka · Pull Request #151848 · python/cpython
X Title: gh-59396: Modernize tkinter.simpledialog by serhiy-storchaka · Pull Request #151848 · python/cpython
Description: This reworks tkinter.simpledialog to match the look and feel of the native Tk dialogs: SimpleDialog is a port of ::tk_dialog, and Dialog is a base class whose button box is modelled on ::tk::MessageBox.
SimpleDialog, askinteger, askfloat and askstring now use the themed tkinter.ttk widgets by default; the Dialog base class still defaults to the classic widgets for compatibility. Both classes gained a keyword-only use_ttk parameter to select the widget set.
Both dialogs follow the message-box keyboard conventions: button accelerators (Alt + the underlined letter), a default ring that follows the keyboard focus, and
Open Graph Description: This reworks tkinter.simpledialog to match the look and feel of the native Tk dialogs: SimpleDialog is a port of ::tk_dialog, and Dialog is a base class whose button box is modelled on ::tk::Messag...
X Description: This reworks tkinter.simpledialog to match the look and feel of the native Tk dialogs: SimpleDialog is a port of ::tk_dialog, and Dialog is a base class whose button box is modelled on ::tk::Messag...
Opengraph URL: https://github.com/python/cpython/pull/151848
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:04df4325-cc12-7872-f322-a00c2aee088b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E794:1B675D:3215FDD:442DD10:6A53EF6F |
| html-safe-nonce | cf7163eda083706ec571e9c5d699d046c5152a1f4007462c135d5b8d9f5792b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzk0OjFCNjc1RDozMjE1RkREOjQ0MkREMTA6NkE1M0VGNkYiLCJ2aXNpdG9yX2lkIjoiNzExNzgxNTE0NDEyMjY3NTA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 297467fdfba59a0e9b5a42a8faf878d28d77be1cd081077e7133aacef450aca0 |
| hovercard-subject-tag | pull_request:3906962296 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/151848/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | This reworks tkinter.simpledialog to match the look and feel of the native Tk dialogs: SimpleDialog is a port of ::tk_dialog, and Dialog is a base class whose button box is modelled on ::tk::Messag... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width