GtkTreeView and colum size



Hello,

I make a gtkTreeView but I have a problème. In fact in the same colum I
have two field :

 column = gtk_tree_view_column_new ();
 renderer = gtk_cell_renderer_text_new ();
 g_object_set (G_OBJECT (renderer),
       "font", "Fixed Medium Semi-Condensed 12",
       NULL);
 gtk_tree_view_column_set_title (column, "Data send");
 gtk_tree_view_column_pack_start (column, renderer, FALSE);
 gtk_tree_view_column_add_attribute (column, renderer,
                     "text", DATA_COLUMN);

 renderer = gtk_cell_renderer_text_new ();
 g_object_set (G_OBJECT (renderer),
       "font", "Fixed Medium Semi-Condensed 12",
       NULL);
 gtk_tree_view_column_pack_start (column, renderer, TRUE);
 gtk_tree_view_column_set_attributes (column, renderer,
                      "text", EXPAND_DATA_COLUMN,
                      "foreground", EXPAND_DATA_COLOR,
                      NULL);

But the two "colum" are the same size and I don't want. How could I do
this ?

To be more explicit I give you the url of two screenshot. The first
represente what I obtain and the second what I will like to obtain :
I have : http://www.arnoraes.freesurf.fr/Forum/treeview_colum.png
I want : http://www.arnoraes.freesurf.fr/Forum/treeview_colum2.png

If you could help me.
Thank you

Arno

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif





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