Golly GUI Interface for CLI scripts.
Posted: January 18th, 2016, 10:23 am
I've been trying to implement an interface that allows the user to do almost everything as in Golly, except for some that are customized for specific tasks.
For instance, with Bellman.py, you will be able to load Bellman input files directly from the file, edit the pattern as you do it in Golly, and save it back to the file just as you save any file.
Here's my work halfway done: https://github.com/Scorbie/gollygui
Currently it doesn't do much... It's emulating Golly behavior inside of Golly using the Golly API.
This may seem worthless, but all events are customizable, so you can make it do whatever you want by defining a custom function and assign the keybinding to it.
You can run gollygui.py for the moment and get the idea... You can think that every key/mouse binding can be customized.
I'd love to hear feedbacks (about overall design, structure... I'm skeptical of using docstrings in the Golly Help page...)
Thank you in advance.
Currently on the TODO list:
For instance, with Bellman.py, you will be able to load Bellman input files directly from the file, edit the pattern as you do it in Golly, and save it back to the file just as you save any file.
Here's my work halfway done: https://github.com/Scorbie/gollygui
Currently it doesn't do much... It's emulating Golly behavior inside of Golly using the Golly API.
This may seem worthless, but all events are customizable, so you can make it do whatever you want by defining a custom function and assign the keybinding to it.
You can run gollygui.py for the moment and get the idea... You can think that every key/mouse binding can be customized.
I'd love to hear feedbacks (about overall design, structure... I'm skeptical of using docstrings in the Golly Help page...)
Thank you in advance.
Currently on the TODO list:
- Fix a bug on the paste location and paste mode thing. Fixed!
- Add tab management by name (as in fusefinder) Done!
- Add bitmap <-> Golly pattern conversion.
- Add getstrings() and getbool() with tkinter (like the one on Catgl) Done!