[wxPython-users] Loading a html file with LoadPage, using wx.html

Kevin Ollivier kevino at theolliviers.com
Tue Mar 13 14:22:43 PDT 2007


Hi Guilherme,

On Mar 13, 2007, at 1:36 PM, Guilherme Polo wrote:

> Hello,
>
> Sometimes I need to load some big html files, and LoadPage takes  
> some time to
> finish the processing and while this the app stays frozen. Is there  
> some
> workaround to this ? I guess it isnt recommended to run it on a  
> separe thread
> since it is a GUI thing, but I hope I'm wrong =)

It's not safe to run that code in a thread. Your two options in this  
case are either to: 1) use another HTML rendering engine (wxIE,  
wxMozilla, wxWebKitCtrl) or 2) re-write wxHTML's LoadPage so that it  
is more efficient.

Regards,

Kevin

>
> ---------------------------------------------------------------------
> 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