Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

Add some kind of GUI #23

Open
Open
@denilsonsa

Description

@denilsonsa

I think this program would be a lot better if it had some kind of GUI.

The GUI should let the user choose the graph type and which blocks to display. Letting the user to select the world is also neat (but it's not essential for the very first version).

Here are some ideas about how to implement it:

  1. Create a simple pythondialog text-mode GUI. Not sure if it will be easy-to-use.
    http://pythondialog.sourceforge.net/
  2. Create a Tkinter GUI. Advantage: no extra dependencies, works on all platforms. Not sure how to display the graph in the interface, though. Maybe save as a temporary file and open it? Maybe save it to a bytestring and load from it?
  3. Create a PyGTK GUI. Advantage: it is possible to integrate Matplotlib graph into a PyGTK program. Look at this small quick-and-dirty proof-of-concept:
    https://bitbucket.org/denilsonsa/pygtk-matplotlib/src

[update]
Actually, matplotlib has plenty of backends, so it should be possible to plug it with GTK, Qt4, WxWidgets and probably also Tkinter. Check out the "backends/" dir from within matplotlib sources.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions