Okay - if one connects window's resize event to our update_views function (applying required arguments) this should more or less work - because the GtkIconView will update the collumns number when it's contents are deleted and then added again.
However, this leads to a even more ugly behavior - because - as I've mentioned in previous comment - the window can be enlarged, but it is impossible to make it smaller again.
Okay - if one connects window's resize event to our update_views function (applying required arguments) this should more or less work - because the GtkIconView will update the collumns number when it's contents are deleted and then added again.
However, this leads to a even more ugly behavior - because - as I've mentioned in previous comment - the window can be enlarged, but it is impossible to make it smaller again.