freely re sizable GtkTreeView columns
- From: Max Linke <max_linke gmx de>
- To: gtk-app-devel-list gnome org
- Subject: freely re sizable GtkTreeView columns
- Date: Sun, 08 Dec 2013 23:45:35 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]