GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there such equivalence for DataViews from GTK ?

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
ctran
Familiar Face


Joined: 29 Feb 2008
Posts: 7

PostPosted: Fri Feb 29, 2008 11:47 pm    Post subject: Is there such equivalence for DataViews from GTK ? Reply with quote

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

PostPosted: Sun Mar 02, 2008 7:14 pm    Post subject: Reply with quote

If GTK+ can add the functionality to display/erase text or whatever at a given screen coordinate, that will be great.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP