A general purpose GUI made in python and pycairo.
Find a file
2014-02-07 11:58:22 -07:00
jgui Added support for background images on any window. 2014-02-07 11:58:22 -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
README.md Update README.md 2014-02-06 10:54:43 -07:00
test.py Added a logger for more maintainable and configurable debug messages. 2014-02-06 11:21:22 -07:00
testclasses.py Added support for background images on any window. 2014-02-07 11:58:22 -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