| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 
 | 	main_window_list =
		gtk_tree_view_new_with_model(GTK_TREE_MODEL(bdtheque_tree));
	main_window_cell_renderer = gtk_cell_renderer_text_new();
 
	g_object_set(G_OBJECT(main_window_cell_renderer),"background-gdk",color_gray,NULL);
/*cette ligne fait planter mon appli*/
 
	main_window_view_column =
		gtk_tree_view_column_new_with_attributes(
				g_locale_to_utf8( "Contributeur", -1, NULL,
					NULL, NULL),
				main_window_cell_renderer, "text", 0,
				NULL);
	gtk_tree_view_append_column(GTK_TREE_VIEW(main_window_list),
			main_window_view_column);
 
/*c'est cette colonne que je veux mettre en gris*/
	main_window_view_column =
		gtk_tree_view_column_new_with_attributes(
				g_locale_to_utf8( "Titre", -1, NULL,
					NULL, NULL),
				main_window_cell_renderer, "text", 1,//"background-gdk",
				NULL);
	gtk_tree_view_append_column(GTK_TREE_VIEW(main_window_list),
			main_window_view_column); | 
Partager