Re: How to insert an email-link into wxPython's HtmlWindow

2006-09-10 Thread [EMAIL PROTECTED]
Thanks. It works now. --Kneo [EMAIL PROTECTED] wrote: > Hello. I don't know if this topic is appropriate in this group (and my > English is not good). > > My problem is here: > > I created a HtmlWindow in wxPython, then I wrote some code and set it > to the page-text. In these code there was a l

Re: How to insert an email-link into wxPython's HtmlWindow

2006-09-06 Thread Gerold Penz
[EMAIL PROTECTED] schrieb: > Now, you have reduced your problem to: how do I call the standard Email > client? I have no idea... Hi! With Windows, you can use ``os.startfile()``: import os os.startfile("mailto:[EMAIL PROTECTED]&body=World") regards, Gerold :-) -- _

Re: How to insert an email-link into wxPython's HtmlWindow

2006-09-06 Thread NoelByron
Override OnLinkClicked() and check the passed link info for the 'mail:' prefix. And if its there, don't call the OnLinkClicked() method of the base class, to prevent wxWidgets from loading this link as a HTML ressource. Now, you have reduced your problem to: how do I call the standard Email client