Links in HtmlWindow

Hello,

Is there any possibility to have a link in my HtmlWindow which will
open the target in a browser window instead of in the HtmlWindow
itself? Like, I want to link to the project's site, and I imagine that
`HtmlWindow` would probably not be the web browser of choice for most
of my users :slight_smile:

Ram.

···

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Hi,

···

On Mon, May 3, 2010 at 4:57 PM, cool-RR <ram.rachum@gmail.com> wrote:

Hello,

Is there any possibility to have a link in my HtmlWindow which will
open the target in a browser window instead of in the HtmlWindow
itself? Like, I want to link to the project's site, and I imagine that
`HtmlWindow` would probably not be the web browser of choice for most
of my users :slight_smile:

Look here: http://docs.wxwidgets.org/stable/wx_wxhtmlwindow.html

There is an event for when links are clicked. Use it, and open the
link using the standard Python webbrowser module.

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Just what I hoped for, works great. Thanks.

Ram.

···

On Tue, May 4, 2010 at 12:05 AM, Cody Precord codyprecord@gmail.com wrote:

Hi,

On Mon, May 3, 2010 at 4:57 PM, cool-RR ram.rachum@gmail.com wrote:

Hello,

Is there any possibility to have a link in my HtmlWindow which will

open the target in a browser window instead of in the HtmlWindow

itself? Like, I want to link to the project’s site, and I imagine that

HtmlWindow would probably not be the web browser of choice for most

of my users :slight_smile:

Look here: http://docs.wxwidgets.org/stable/wx_wxhtmlwindow.html

There is an event for when links are clicked. Use it, and open the

link using the standard Python webbrowser module.

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en