On Thu, 2004-06-17 at 10:16, Carine Andersson wrote: > Hi, > > I'm trying to create a small treeview containing files in a directory. Since I > have to use a very small display (128x144), I need to decrease > the font size of the strings. How can I do this? > My code looks like this: > > cell_renderer = gtk_cell_renderer_text_new(); > > column = gtk_tree_view_column_new_with_attributes("info", cell_renderer, > "text", 1, NULL); > > gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); Take a look at the gtk_cell_renderer_text documentation, it has a lot of properties you can set. as far as I can tell you should be able to do e.g: g_object_set(cell_renderer,"size",8,NULL); _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list