I added this line, no messages in the console but the text is still not ellipsized. am I missing some specific setting to gtk_iconview? Do you know any software which uses iconview with a text column? I tried to look inside Nemo file manager sources but with no luck.
Why do you create a new CellRendererText and at the same time use the existing one with gtk_icon_view_set_text_column?
If you use gtk_icon_view_set_text_column, then get the existing renderer with Gtk.CellLayout.get_cells and apply the ellipsize and max-width-chars
to it.
Otherwise, is you use your own renderer, donāt call gtk_icon_view_set_text_column but instead use gtk_cell_layout_set_attributes to link the text to the appropriate modelās column.
Your code worked like a charm! You are a genious! Thank you for the patience and the kind explanation, I learnt something new about cell renderers. Would you like to help in your spare time to the development of my slideshow maker? I have been developing it since 2009. If you want to give a look itās here: https://github.com/colossus73/imagination