GtkCellRendererText and PangoContext



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


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