Re: GTK & Pango string measurement

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

 



>> In the situation I'm talking about, there is no GtkWidget object so
>> your technique won't work.  This is the code I'm going off of
>> actually.  Thus my question is how can I get a pango context from  a
>> GtkCellRendererText?
>
> AFAIK, the pango context used by the GtkCellRenderer is the same used
> by the treeview, so try to make something like:
>


Hmmm.  But then I'm allowed to add many GtkCellRendererText views to
GtkTreeView and each of those can have different font settings, so
what would happen then?  I might not be getting the correct
measurements from the PangoContext in GtkTreeView.

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