8000 Clickable Email in the "About" Window by CJYKK · Pull Request #104045 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Clickable Email in the "About" Window #104045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Clickable Email
Make email address clickable in the "About" window (using "mailto:<address>").
  • Loading branch information
CJYKK authored May 1, 2023
commit 756dbb0ba779aa2854f82ffde5d0f7b3a3272efc
1 change: 1 addition & 0 deletions Lib/idlelib/help_about.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def create_widgets(self):
email = Label(frame_background, text='email: idle-dev@python.org',
justify=LEFT, fg=self.fg, bg=self.bg)
email.grid(row=6, column=0, columnspan=2, sticky=W, padx=10, pady=0)
email.bind("<Button-1>", lambda event: webbrowser.open("mailto:idle-dev@python.org"))
docs_url = ("https://docs.python.org/%d.%d/library/idle.html" %
sys.version_info[:2])
docs = Label(frame_background, text=docs_url,
Expand Down
0