Re: freely re sizable GtkTreeView columns

2013-12-09 Thread Max Linke
On Mon, 2013-12-09 at 20:49 +1100, Chris Angelico wrote: > On Mon, Dec 9, 2013 at 7:45 PM, Max Linke wrote: > > Thanks that fixed it. So far Gtk looks nice and easier then I > > expected :) > > I quite like GTK, too. Most of my GUI work is in Pike, which is > semant

Re: freely re sizable GtkTreeView columns

2013-12-09 Thread Max Linke
On Sun, 2013-12-08 at 15:09 -0800, Andrew Potter wrote: > The cell renderer should be or be derived from a GtkCellRendererText. > The GtkCellRendererText has an ellipsize property that you can set. If > the text isn't allowed to be ellipsized, then the minimum size of the > column is going to be t

freely re sizable GtkTreeView columns

2013-12-08 Thread Max Linke
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 lik