I love the gmail web interface, but waste too much time on the
internet every time I check my mail. I don't want to switch to
Thunderbird or some other email client because I access my mail from
several different computers and this creates synchronization problems.
So, I would like to create a very simple web browser that only lets
me visit mail.google.com (or perhaps a few other sites that are work
related but not time sucking).
I read through the wxPython demo and with the help of wxGlade created
a simple app, but it doesn't display pages well (even www.google.com)
- see attached. Can this easily be fixed or is it a limitation of
wxHTMLWindow? I saw another thread about embedding an internet
explorer window in an app. If I did that, can I still restrict where
the browser can go or handle link click events myself? Is there some
easy, python-ish way to do what I want (i.e. create a browser with
very limited allowable destinations)?
wxHTMLWindow is an HTML renderer, not a web browswer. It doesn't do
CSS, it certainly doesn't do javascript or DHTML. You need a full
featured embedded web browser. At the moment, I believe your easy
choices are restricted to IE on Windows. wxMozilla seems to have
become defunct, and I don't know the state of WebKit.
···
On 2/13/07, Ryan Krauss <ryanlists@gmail.com> wrote:
I love the gmail web interface, but waste too much time on the
internet every time I check my mail. I don't want to switch to
Thunderbird or some other email client because I access my mail from
several different computers and this creates synchronization problems.
So, I would like to create a very simple web browser that only lets
me visit mail.google.com (or perhaps a few other sites that are work
related but not time sucking).
I read through the wxPython demo and with the help of wxGlade created
a simple app, but it doesn't display pages well (even www.google.com)
- see attached. Can this easily be fixed or is it a limitation of
wxHTMLWindow? I saw another thread about embedding an internet
explorer window in an app. If I did that, can I still restrict where
the browser can go or handle link click events myself? Is there some
easy, python-ish way to do what I want (i.e. create a browser with
very limited allowable destinations)?
Is there some easy, python-ish way to do what I want
Well, you could just use some will-power! Are you saving net time overall by taking the time to create this limited browser, than if you just surfed around sometimes?
On 2/13/07, Chris Mellon <arkanes@gmail.com> wrote:
On 2/13/07, Ryan Krauss <ryanlists@gmail.com> wrote:
> I love the gmail web interface, but waste too much time on the
> internet every time I check my mail. I don't want to switch to
> Thunderbird or some other email client because I access my mail from
> several different computers and this creates synchronization problems.
> So, I would like to create a very simple web browser that only lets
> me visit mail.google.com (or perhaps a few other sites that are work
> related but not time sucking).
>
> I read through the wxPython demo and with the help of wxGlade created
> a simple app, but it doesn't display pages well (even www.google.com)
> - see attached. Can this easily be fixed or is it a limitation of
> wxHTMLWindow? I saw another thread about embedding an internet
> explorer window in an app. If I did that, can I still restrict where
> the browser can go or handle link click events myself? Is there some
> easy, python-ish way to do what I want (i.e. create a browser with
> very limited allowable destinations)?
>
> Thanks,
>
> Ryan
>
wxHTMLWindow is an HTML renderer, not a web browswer. It doesn't do
CSS, it certainly doesn't do javascript or DHTML. You need a full
featured embedded web browser. At the moment, I believe your easy
choices are restricted to IE on Windows. wxMozilla seems to have
become defunct, and I don't know the state of WebKit.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
I love the gmail web interface, but waste too much time on the
internet every time I check my mail. I don't want to switch to
Thunderbird or some other email client because I access my mail from
several different computers and this creates synchronization problems.
So, I would like to create a very simple web browser that only lets
me visit mail.google.com (or perhaps a few other sites that are work
related but not time sucking).
As said before, you're looking at a whole lot of work for not much final result. Unless, of course, you want to do this for fun more than anything else. (Well, it _does_ look like fun...)
You may want to look at a portable mail client instead (on an USB key for exemple). You'd be able to use it on any (mostly Windows) PC without changing anything on the host.
N.
···
On 2/13/07, Ryan Krauss <ryanlists@gmail.com> wrote:
--
"If you try to stay sane in life, it'll just
drive you crazy. So, you may as well go crazy
now and have fun with life."
--MegaZone
Yes, IIRC you can catch the EVT_BeforeNavigate2 event, and if you don't like the URL it is going to you can set event.Cancel=True to stop it from going there.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!