GtkCellRendererText and PangoContext

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

 



Hi,
I'm banging my head trying to figure out how to measure the text width
of a string to be displayed in a GtkCelRendererText.  From the code
I've found, I need a PangoContext and GtkCelRendererText has plenty of
Pango properties but none that return a PangoContext.  In addition,
GtkCelRendererText is not a GtkWidget, so I can't use
gtk_widget_get_pango_context().  I'm at a loss as to how to do this.
Any ideas?

thanks,
wes
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux