Display the webviews current url in a textfield
-
Hello Im trying to display in a textfield the current url for the webview
So if Im clicking on a link (omz-software.com for example) I would like the textfield to display omz-software.com
I have triedtext_field.placeholder = web_view.load_url('')
But that does not work, also tried with
Urlib.parse
variations bur not been able to get It to workAny ideas or clues for helping me would be great
-
Webbrowser.py search for
def webview_did_finish_load(self, webview): ...
-
@brumm thx. Looks like this can be a good way to fix it