[wxPython-users] wx.html.HtmlWindow and EVT_HTML_LINK_CLICKED

Jorgen Bodde jorgen.maillist at gmail.com
Mon Jun 11 04:18:33 PDT 2007


Ok, hanging my head in deep shame. I have two HTML windows, and guess
what, I only implemented the handler in one, nut not in the other.
*sigh* .. Sometimes I wonder if I still have a brain ;-(

Thanks again for the support!

- Jorgen

On 6/11/07, Jorgen Bodde <jorgen.maillist at gmail.com> wrote:
> Hi Roman,
>
> Thanks a lot for demonstrating this. I am really puzzled as I have
> implemented the same handler as you did, but they do not seem to get
> through. I am going to investigate this further but as you so kindly
> demonstrated in the sample, it seems to work.
>
> Thanks a lot for putting effort in the demonstration sample!
>
> With regards,
> - Jorgen
>
>
> On 6/11/07, Roman Rolinsky <rolinsky at femagsoft.com> wrote:
> > Hi,
> >
> > what platform/wx version are you using? This small test example works
> > fine for both internal and external links on wxGTK 2.8.4.0.
> >
> > Regards,
> > Roman
> >
> > On Mon, 2007-06-11 at 09:49 +0200, Jorgen Bodde wrote:
> > > Hi,
> > >
> > > I am using the HtmlWindow and I want to launch an external browser
> > > window, but it seems the  event wx.html.EVT_HTML_LINK_CLICKED only
> > > gets clicked for anchors or internal links. Is this desired behavior?
> > > I do know that OnLinkClicked virtual function works for an external
> > > link, because this is shown properly in the demo, but I do use XRC to
> > > load my GUI and do not wish to implement a custom handler to create a
> > > custom HTML window.
> > >
> > > I asked on the wx-dev mailinglist and Vaclav said it should work by
> > > event as well, but the http links simply seem to be bypassed in the
> > > handler.
> > >
> > > Any ideas?
> > >
> > > With regards,
> > > - Jorgen
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> > > For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> > For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
> >
> >
>




More information about the wxpython-users mailing list