Hi

I'm writing my first GTK app with pygobject. I'm struggling with the
resizing of treeview columns.  The data in one column are quite long
strings (filepaths) and I want to be able to dynamically resize the
column to something smaller then the length of the strings.

I'm creating the columns like this

        column = Gtk.TreeViewColumn('id', renderer, text=0)
        column.set_resizable(True)

But then the min column size is the length of the longest string in the
column. It would be nice if I could also resize the column to something
smaller.

best Max


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to