Re: GtkTreeViewColumn width

2018-02-18 Thread Eric Cashon via gtk-app-devel-list
Try switching the sizing to what is needed. Something like ... gint combo_id=gtk_combo_box_get_active(combo); if(combo_id==0) { g_print("%i\n", gtk_tree_view_column_get_width(column2)); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column2), GTK_TREE_VIEW_COL

Re: GtkTreeViewColumn width

2018-02-18 Thread Eric Cashon via gtk-app-devel-list
Hi Phil, You should be able to resize columns if you want. If you have set sizes of text to display in the tree view and want to allocate sizes you can do that. Eric /* Tested with Ubuntu16.04 and GTK3.18. gcc -Wall tree_column1.c -o tree_column1 `pkg-config --cflags --libs gtk+-3.