Python Forum

Full Version: wx.html2.WebView Methods
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am looking for sample codes for the following wx.html2.WebView methods to copy selection into a variable. Is there any? Thanks.

wx.html2.WebView SelectAll, Copy & Paste
Is this what you want?
wx.html2.WebView
I have done that part already and able to browse webpages by using wx.html2.WebView.
After load a webpage, what I need is to select all on the webpage, copy and paste into a variable.
I see wx.html2.WebView has methods below in https://wxpython.org/Phoenix/docs/html/w...bView.html but there is no sample codes
wx.html2.WebView.SelectAll,
wx.html2.WebView.Copy,
wx.html2.WebView.Paste
ok, figured it out. Just simply use them working just fine:
wx.html2.WebView.SelectAll,
wx.html2.WebView.Copy,
wx.html2.WebView.Paste
Here's something that will be of great help for future widgets you might want to use: