Re: Text on canvasmm



Yann Normand wrote:

Mark Wilson a écrit :

Hello,

I can't seem to get text to show up on my Canvas application; I've had to resort to using Canvas::Widget containing a Gtk::Label. Are there any known bugs related to text on a canvas, or what am I missing? I create my text just like any other Canvas item, it just won't display.

Thanks!

Mark
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Using Gnome::Canvas::Text works for me. Don't forget to correctly set the font and text properties.

So there's no default property for font and such? Also, does the fact that I'm using the anti-aliased canvas matter?
Thanks,
Mark



It seems to me there is no default property for font. the Text Canvas Item works both for anti-aliased and gdk mode.

--
Yann Normand
Sogeti-Transiciel




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