A general purpose GUI made in python and pycairo.
Find a file
2014-02-07 21:06:42 -07:00
img Fixed up some paths and added a test image. 2014-02-07 15:55:06 -07:00
jgui Fixed a bug with images getting pushed around at the top of the page. 2014-02-07 21:06:42 -07:00
screenshots Added a screenshot. 2014-02-07 15:57:20 -07:00
featurelist.txt Added support for background images on any window. 2014-02-07 11:58:22 -07:00
gtktest.py Refactored a lot of code. Added a preliminary text window 2014-02-04 22:54:05 -07:00
LICENSE Initial commit 2014-01-27 13:04:21 -08:00
qttest-alt.py Added pyqt example files and updated some test code. 2014-02-07 21:02:02 -07:00
qttest.py Added pyqt example files and updated some test code. 2014-02-07 21:02:02 -07:00
README.md Updated with a screenshot. 2014-02-07 16:01:59 -07:00
test.py Added pyqt example files and updated some test code. 2014-02-07 21:02:02 -07:00
testclasses.py Added pyqt example files and updated some test code. 2014-02-07 21:02:02 -07:00

JGUI

A general purpose, batteries included, vector based GUI library made in python and pycairo. It's goal is to be reusable, multiplatform and visually scalable. As long as you have a cairo surface or something that can display an array of pixels, this library should work.

Right now I have an example in test.py that tests the functionality in panda3d. Go to panda3d.org to download it and then run the script with python test.py.

Startup Guide

Install python-cairo, python-gobject, python-gi-cairo

On Ubuntu:

sudo apt-get install python-cairo python-gobject python-gi-cairo -y

To run test.py and gtktest.py, you'll need panda3d and pygtk respectively

sudo apt-get install python-gtk2

You'll have to go to https://www.panda3d.org/download.php?sdk&version=1.8.1 to get the latest version, or compile it from source if your OS isn't supported.

After that, you should be able to run

python test.py

or

python gtktest.py

Screenshots

ScreenShot