On Wed, 14 Nov 2007 12:31:36 +0100 Harold Aling h.aling@home.nl wrote:
On Wed, 14 Nov 2007 12:25:32 +0100, Harold Aling h.aling@home.nl wrote:
On Tue, 13 Nov 2007 15:41:01 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
I don't know a better to decrease the indentation. It seems GTK doesn't provide more control over this.
How about a non-collapsing list (like the 'files' list) then?
Rightclicking the list will show a 'tick list' like this:
Sort by name Sort by appearance
[X] Show functions [X] Show variables [ ] <etc>
...or by enabling/disabling icons in the top bar (b/w versus color / red cross), just like the files tab has 'up', 'reload', 'home' and 'go to'...
I don't think this would be a good idea. I think usability is best with a treeview, but it is annoying that currently there's no way to configure expander child items with less (or even no) indentation. They always have an extra indent of the width of an expander.
I just noticed for Gtk 2.12 (which I don't have yet ;-)) there's an option to hide expanders, which can also disable indentation - see gtk_tree_view_set_show_expanders(). Perhaps for Gtk 2.12 it could be a popup menu toggle option. We could also add double click functionality to expand/collapse items.
http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html#gtk-tree-view-s...
Regards, Nick