Re: freely re sizable GtkTreeView columns

2013-12-09 Thread Chris Angelico
On Mon, Dec 9, 2013 at 9:43 PM, Max Linke wrote: > pack option was the right hint. I just saw that the expanding option is > hidden there in glade. After setting expand to yes for the > ScrolledWindow everything works like I expect it to. > > Thanks for the quick help Excellent! Glad to be of ser

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 > semantically similar to Python (which

Re: freely re sizable GtkTreeView columns

2013-12-09 Thread Chris Angelico
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 semantically similar to Python (which I think is what you're using?). GTK does a fine job of everything I

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

Re: freely re sizable GtkTreeView columns

2013-12-08 Thread Andrew Potter
On Sun, Dec 8, 2013 at 2:45 PM, Max Linke wrote: > 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 th

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