Re: GTK & Pango string measurement



> 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


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