Drawing text in a Gtk::Image



Hi everybody,

For the software I'm currently writing I need to create a 100x100 Gtk::Image with a transparent background (or white if it's not possible) and to draw some text at the center of this image. I'm pretty new to gtk and I don't know how can I do that... I guess it's something with pixmap and pango. Could someone help me or give me a piece of code to show me how I can do that?

Thanks a lot.

Aurelien




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