GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Oct 01, 2014 6:21 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Is there such equivalence for DataViews from GTK ?
PostPosted: Fri Feb 29, 2008 11:47 pm 
Offline
Familiar Face

Joined: Fri Feb 29, 2008 6:00 pm
Posts: 7
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 02, 2008 7:14 pm 
Offline
Familiar Face

Joined: Fri Feb 29, 2008 6:00 pm
Posts: 7
If GTK+ can add the functionality to display/erase text or whatever at a given screen coordinate, that will be great.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group