Comments (3)
@hujosh Hey! Have you tried following this?
http://effbot.org/tkinterbook/photoimage.htm
Also, it looks like Tkinter requires for you to hold a reference to the image. Here's a detailed and example to help:
http://effbot.org/pyfaq/why-do-my-tkinter-images-not-appear.htm
from cricket.
It's not clear to me exactly why this requires an image view - or why another tab is required. If you're looking to configure the browser to use so it can be passed in as an option, I would have thought a menu option would be all you need. What's the role of the image?
from cricket.
I only mentioned the browser thing so that you knew i was somewhat familiar with the views.py code. Maybe i used the wrong terminology to describe it: i meant that i put another "drown down menu' among the set that comes with cricket by default -- the set {File ,Test, BeeWare, Help}.
I have now worked out how to do images. I just put a "view screenshot" button in the details frame that is "DISABLED" until a testcase has been run. I don't display the image in the Cricket GUI. Instead i use
image.show(),
which opens the paint program on windows 10 with the image i want to be showed showed.
from cricket.
Related Issues (20)
- Subclassing HOT 1
- Error when running single test case
- Add ability to reload test suite without restarting cricket HOT 2
- Cricket does not work with Python 3.6 HOT 2
- (GSoC) Port Cricket to use Toga, instead of Tkinter HOT 15
- Run selected doesn't count/ runs every test selected in a test module
- AttributeError: 'module' object has no attribute 'result'.
- Suggestion: make tree collapsed at start HOT 1
- Correct CI configuration
- Correct test failures HOT 2
- Issue when installing on python3.5 HOT 2
- Unable to open "File" menu HOT 4
- Tests not populated in tree view - Windows 7 HOT 1
- Missing cricket-pytest HOT 2
- AttributeError: 'TestMethod' object has no attribute 'items' HOT 1
- Undefined name 'child'
- cricket-pytest Windows 10 "Unhandled Exception: Python.Runtime.PythonException: SystemExit : 1" HOT 1
- Add cmd line option for directory to inspect HOT 2
- subprocess Runtime warning: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cricket.