Re: GTK & Pango string measurement

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

 



> 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.

AH!  I've figured out the answer to my question.  Each
GtkCellRendererText has its own PangoFontDescription, which when
applied to the GtkTreeView's PangoContext results in cell-specific
font metrics.  This Pango business is new to me so thanks for your
patience.

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