 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
ctran Familiar Face
Joined: 29 Feb 2008 Posts: 7
|
Posted: Fri Feb 29, 2008 11:47 pm Post subject: Is there such equivalence for DataViews from GTK ? |
|
|
At work, we're using the DataViews (DV), a propriety Data Visualization Tool Package, for realtime graphical application. This is very sophisticated tool and we have routine written in C that calls DV routines to do the followings:
1) Open DV window.
2) Pass to this C routine message, message length, text color, line #, column #, erase method, font size.
3) Erase line
4) Close DV window.
Line # and column # are chosen based on font size (If font size is big, fewer line # and column #). Erase method is an integer that tell routine whether erase current existing text line, write with new text or simply erase whatever was there on line #, column # with message length and put new text there.
Example:
Time remaining: 60
- First call to routine displaying "Time remaining" on column 1, line 3, font size 4, orange color, and erase whole line method.
- Second call to routine displaying time remaining from 60 seconds on column 17, line 3, font size 4, white color, erase what was there for 60. This erase method is to overwrite anything there.
- Subsequent call just updating the counting down time without refreshing Time remaining:
We have quite a few programs that call this C routine to display text. This is running on the Unix system more than 15 years old and we're looking for an upgrade. We're looking to go with open source graphical package running on Linux. We'd like to develop a similar C routine and accepts the same arguments.
Is there anything as close to this in GTK or other graphical package ? Thanks for anything input. |
|
| Back to top |
|
 |
ctran Familiar Face
Joined: 29 Feb 2008 Posts: 7
|
Posted: Sun Mar 02, 2008 7:14 pm Post subject: |
|
|
| If GTK+ can add the functionality to display/erase text or whatever at a given screen coordinate, that will be great. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|