[Tutor] python / gtk / Webkit app wrapper.
Darin Lawson Hosking
darinlh at gmail.com
Fri Jun 28 03:13:32 CEST 2013
Thank you both for the response
Alan - This is my first python program (actually first anything, besides
simple one line shell scripts) and if I broke protocol I do apologize.
eryksun - that did it after pulling out the indention after I copy pasted
:) BUT it is missing the (right click suggested spellings menu)
Now off to find that :) if you happen to know of some docs on where I could
find that I would appreciate a lead.
Thank you again
Darin
On Thu, Jun 27, 2013 at 7:07 PM, eryksun <eryksun at gmail.com> wrote:
> On Thu, Jun 27, 2013 at 5:57 PM, Darin Lawson Hosking <darinlh at gmail.com>
> wrote:
> >
> > I also tried this and it appears to run ie no errors BUT does not
> highlight
> > misspellings?
> >
> > settings = webkit.WebSettings()
> > settings.set_property('enable-spell-checking', True)
>
> Try:
>
> web = webkit.WebView()
> web.open('...')
> settings = web.get_settings()
> settings.set_property('enable-spell-checking', True)
> settings.set_property('spell-checking-languages', 'en_GB')
>
> Replace 'en_GB' with your desired language_country code.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130627/3d191cfb/attachment.html>
More information about the Tutor
mailing list