Python Forum
wx.html2.WebView Methods
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wx.html2.WebView Methods
#1
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
Reply
#2
Is this what you want?
wx.html2.WebView
Reply
#3
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
Reply
#4
ok, figured it out. Just simply use them working just fine:
wx.html2.WebView.SelectAll,
wx.html2.WebView.Copy,
wx.html2.WebView.Paste
Reply
#5
Here's something that will be of great help for future widgets you might want to use:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  GTK WebView, failed to load shared libraries. TimeMen 0 2,189 Nov-07-2018, 12:55 PM
Last Post: TimeMen
  Set wx.html2.WebView invisible ian 1 2,110 May-12-2018, 08:33 AM
Last Post: Weave
  wx.html2 ian 1 4,799 Feb-04-2018, 06:22 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020