Determining width of a clist entry



Hi!

I'm trying to set the width of the columns in a CList using:

  gtk_clist_set_column_width(GTK_CLIST(clist), column, width);

I think I need to do this using:

  gdk_string_measure(GdkFont *font, const gchar *string);

The column entries are in a glib linked list, so what I want
to do is keep an array of maximum widths which I update as I
insert into the CList.

My problem is, how do I determine the GdkFont that my CList
is using?

Chris
-- 
the ebullient egg-sac of ennui




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