GtkCellRendererText and PangoContext
- From: Wesley Smith <wesley hoke gmail com>
- To: gtk-list gnome org
- Subject: GtkCellRendererText and PangoContext
- Date: Tue, 15 Sep 2009 20:14:29 -0700
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]