From: Rafael L. <lab...@ps...> - 2003-07-03 22:52:56
|
* Alan W. Irwin <ir...@be...> [2003-07-03 06:50]: > You can use the gnome device (or any other device) with pythondemos.py. My > knowledge of GUI's is pretty limited, but my understanding is that the > gnome device is the start of a gtk-based GUI for PLplot. It is Rafael > Laboissiere's code, [...] That's me. > [...] but he hasn't had any time to work on it much [...] That's true. > [...] so the gnome device driver is still immature [...] That's more than true. > [...] (most examples work using the -dev gnome option, but a few still > segfault, and the GUI functionality is still limited). Nevertheless, the > approach used for the gnome device may help you to get started in building > a full-blown gtk/glade interface to plplot. The main point of writing a new driver is how to get PLplot internal commands translated into pixels on the media. This is done through the GnomeCanvas object, which is implemented by the gnome driver. What Thomas seems to need is a way to access the GnomeCanvas object as a widget, such that it can embed it into his gtk interface. I had plans for implementing that and it seemed to me some time ago that it was doable. Unfortunately, I had to put this project on hold, but if Thomas is willing to give it a try, I may find some time after August to look at this project again. -- Rafael |