[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview component


Le 07/04/2025 à 20:30, Claus Dietrich a écrit :
Hi Benoît

Am 07.04.25 um 16:50 schrieb Benoît Minisini:
Only the search and text highlight would be implemented in
Javascript. The GUI would be outside of the browser.

Do mean the use of the ExecJavaScript-method of the WebView?

I will add the old Find() function of qt webkit. But if you want to see if you can do that in javascript, yes, this is what I meant.

If so, can the argument of the method be more than a one-liner? Does
somebody have a proposal for an according search function (my JS
skills are poor) ?

The argument can be any javascript code, that can be written with the number of lines you want (they are not important in javascript).

So I guess you can send a full definition of functions if you need, and that you should need to do that once, as the browser is supposed to remember them.

Of course it's not very elegant, but it's the only way if the basic search method provided by the Qt/WebKitGTK+ API is not enough.

Regards,

--
Benoît Minisini.


References:
Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Error on Mint 22 with Gambas 3.20.2 when adding the gb.gui.qt.webview componentClaus Dietrich <claus.dietrich@xxxxxxxxxx>