There is also a very good graphing package lumped in with some other stuff called GTKExtra http://gtkextra.sourceforge.net/ It may at first glance look like the package hasn't been updated for a while but if you check the mailing list you will see there is activity and the CVS sources are being updated regularly.
Richard.
At 15:45 31/03/05, you wrote:
I been developing mostly on embedded Linux platforms for the last eight years (mostly soft realtime stuff). I have a lot of experience on Linux in general, but have never developed a GUI application for X. I chose GTK simply because, from the outside, it appears to have the same programming style as me.
I need to develop a software signal processing program. It goes generally like this:
1. High speed data comes in on a capture card. 2. The data goes through several algorithm modules. 3. Result is pumped back out a different card, or captured for analysis.
What the GUI needs to do is to act like either a spectrum analyzer or an O-Scope at the input and output of the algorithm modules. All of the underlying stuff I can handle but I have a few GTK/GUI design questions, that if I could get answered would, speed up my learning curve and development time.
Questions: 1. I'm not used to giving up program flow by calling gtk_main. I see there is a function to interrupt gtk_main in a timely manner, is there also a function to interrupt gtk_main when a file handle becomes available? Or more likely a series of file handles (like the select function)?
2. Obviously I have to do a lot of drawing and displaying graphics. What I want is to be able to draw in a window just like the old Borland BGI interface. I realize that this sort of direct pixel access is not allowed under the GTK (or 'X') model. So considering that my graphic is not going to be a particular file format (PNG, BMP, etc), what widget would lend itself to this kind of display. I'm not sure this is clear, but basically I'm thinking I will draw my waveforms in a buffer and tell the widget about the buffer and then display it.
3. The data is going to be coming in hot and heavy, obviously even direct control of the display is not going to keep up. Is there a way to tell when the "drawing" of the widget is complete, so that I can tell if its time to draw another buffer, and display?
Thanks for your time... -- David L. Martin <[EMAIL PROTECTED]> http://www.kc2lcf.net
Welcome to the shallow end of the Internet!
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list