[Gambas-user] Some documentation for webview in 3.16 execjavascript ??

John Dovey dovey.john at gmail.com
Thu Jun 24 17:16:23 CEST 2021


I was hoping there would be documentation on webview for qt4, but no
luck... circular reference :-(

[image: image.png]

[image: image.png]

On Thu, 24 Jun 2021 at 03:15, Martín <mbelmonte at belmotek.net> wrote:

> I'm looking for documentation for the control WebView because in gambas
> wiki is blank or some sample program on this version of WebView.
>
> I share here a project which i use for learning and testing.
>
> I want to change the text content and text style like as text editor
> program.
>
> Could be possible someone do this changes in the code an share, in order
> to understand how it works.
>
> Thanks.
>
>
> On 23/6/21 23:09, Benoît Minisini wrote:
> > Le 23/06/2021 à 22:58, Martín a écrit :
> >> Hello,
> >>
> >> I'm trying to find documentation or a usage example about the webview
> >> control for gb.gui but I can't find anything.
> >>
> >> I have already searched in [1] but the page is blank.
> >>
> >> [1]
> >> https://gambaswiki.org/wiki/comp/gb.qt5.webview/webview/execjavascript
> >>
> >> Would it be possible that someone could give me some information
> >> about it?
> >>
> >> Also I use this
> >>
> >> WebView1.ExecJavascript("document.execCommand('foreColor', false,
> >> 'red');")
> >>
> >> But doesn't work
> >>
> >> Thanks.
> >>
> >>
> >>
> >> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> >
> > This is the javascript execution of WebKit, you can find the
> > documentation in the Qt documentation or WebKitGtk documentation,
> > depending on which one you use.
> >
> > But you won't find any information more than "execute javascript in
> > the context of the browser page".
> >
> > Regards,
> >
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210624/84b96089/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30103 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210624/84b96089/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30458 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210624/84b96089/attachment-0003.png>


More information about the User mailing list