Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tkinter tkMessageBox html link

I got a tkMEssagebox.showerror showing up in a python tkinter application, when somebody failed to login with the application. Is it possible to have a url link in the tkMessageBox.showerror?

ie.

tkMessageBox.showerror("Error","An error occured please visit www.blahblubbbb.com")

and I want the www.blahblubbbb.com to be clickable?!

like image 415
dave Avatar asked Nov 22 '12 07:11

dave


1 Answers

Short answer: "No!" message is a simple string, no interpretation like in some widgets of other frameworks is done.

Longer answer: You could e.g. subclass+monkeypatch, to provide such feature.

like image 172
Don Question Avatar answered Nov 10 '22 02:11

Don Question