Put text in pixmap



Hello,

I'm writing a small program to plot functions (my goal is a mix
between Xmgr and gnuplot, but that's a long way...). I use a pixmap to
display the plot, and now I would like to add small pieces of text to
this pixmap :

 ---------------------------------
 |                               |
 |   Plotarea                    |
 |                               |
 |                               |
 |                               |
 |                               |
 ---------------------------------
 0   10    20     30     40     50  <== How to add these numbers to
                                        the pixmap ??

I have browsed through documentation / source and as far as I
have understood GtkLabel and GtkText are not really suited for my 
task. Any suggestions on how to add text to a pixmap (and possibly
correcting my prejudice about GtkText / GtkLabel) would be greatly
appreciated,

Joakim Hove



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]