Questions tagged [wx.html2]

13 questions
3
votes
1 answer

Is it possible to check and set wx.html2 to use WebKit on Windows?

Is it possible to do a combination of a check and a engine-switch on Windows for wx.html2 in wxPython 2.9.4.0 (development version)? What I want to achieve is; to let the wx.html2 library use WebKit on Windows if Safari, Chrome or Opera…
user1467267
2
votes
3 answers

Detect link mouseover events in wxPython's html2-webview

Background: Since updating to the 2.9.4 I've begun switching a (nastily hacked in) pygtk version of webkit to the new html2 webview that comes with wxPython. Question: From what I can see from the docs…
Ross
  • 206
  • 1
  • 6
2
votes
3 answers

wxpython, passing user datas to html2

i am trying to develop python GUI to access webpages. below example is working fine. but i need to pass user credentials(username/password) with in this code. i dont want to click on that button. just i need to fill text boxes in login page import…
AGR
  • 205
  • 1
  • 2
  • 15
2
votes
1 answer

Global event listeners in wxPython

I have a wx.html2 widget in my panel. Sadly wx.html2 doesn't have many event listeners (http://wxpython.org/Phoenix/docs/html/html2.WebView.html#events-events-emitted-by-this-class). Now I have this binding to my panel (self is the…
user1467267
0
votes
0 answers

JavaScript execution throws "Error: OLE Automation error in eval: Unknown name or named argument." in wx.html2.WebView on MSW

I’m developing a cross-platform GUI app for Mac and Windows using wx.html2.WebView, using the latest wxPython 4.1.1. (Hint: The problem started appearing in 4.1. Earlier wxPython versions, as well as the wxPython 4.1.1 for Mac, don’t have that…
Yanone
  • 103
  • 9
0
votes
0 answers

Why is it not available in CentOS wx.html2 . WebView control?

I use wxpthon library to write UI program in CentOS system wx.html2 . WebView control, the following error is prompted: File "main.py", line 143, in frame = DemoFrame() File "main.py", line 101, in __init__ self._mainPanel =…
puwow
  • 1
0
votes
2 answers

wxPython html2.WebView and Vertical scrollbar

I've read almost all i could find on internet to solve this, but no way to find out ! so i will post here. I would like my news to have a vertical scrollbar in the gridbagsizer. I tried to put it on wxscrolledWindow and many other things, there's no…
framb axa
  • 197
  • 1
  • 11
0
votes
1 answer

GetPageSource for wx.html2 in Python

I am trying to scrape dynamic information from an HTML site. Since the place that I work from is a bank, I can only use the libraries they have certified as safe. Selenium and PyQt are not an option so I must work with wx.html2. I found this code…
0
votes
1 answer

How to adapt the height of a wx.html2.WebView to its contents?

I'm trying to make a wx.html2.WebView high enough that its contents don't need to be scrolled. I tried using javascript in RunScript to detect that document height is larger than window height, but it won't work on some backends, for which RunScript…
Arnaud
  • 33
  • 3
0
votes
1 answer

wx.html2.WebView form GET doesn't fill in URL parameters

I am trying to pass the contents of a simple form to the URL parameters on submit of the form. The HTML code works on an online HTML simulator, but doesn't work in wx.html2.WebView. Using wxPython v4 and python 3.6. Code that demonstrates the…
user9277612
  • 367
  • 1
  • 12
0
votes
1 answer

Wx.html2 Background image is not inserted

I'm trying to put an image background using wx.html2 I've tried all of the css / html tags, but the images will not go in. I guess I'm using it wrong. I made an html document and tested it. It will work normally in the browser. What is the…
다크매터
  • 59
  • 12
0
votes
1 answer

How do I apply tag conditionals when using wx.html2?

I put the conditional expression in {2}, {3} and try to put green in case of Ture and red in case of False. Is it possible to use SetForegroundColour to represent colors? If you run it, it will be None. Do you need another method? I also tried…
다크매터
  • 59
  • 12
0
votes
1 answer

why wx.html2 module is not exist?

I used python version 2.7.1. then installed wxPython2.8-win32-ansi-py27 and I was import wx.html2 but python shell printed Import error. ImportError: No module named html2 wx.html module is not exist.. how to fix it?
이상명
  • 33
  • 8