treeview with compact indentation?

2009-08-03 Thread Allin Cottrell
I wonder if there's a way to produce a more compact layout for a
treeview with expanders?  I'd like this for a case where the
treeview is in a left-hand pane, alongside stuff that the tree
represents.

I mean, the default looks something like this, with heading 1
expanded:

heading 1
   item 1
   item 2

But the effect I'm looking for is like:

heading 1
  item 1
  item 2

with the children tucked under their parent.

I noticed the existence of gtk_tree_view_set_level_indentation(),
but this doesn't accept a negative argument.

Thanks for any suggestions.

-- 
Allin Cottrell
Department of Economics
Wake Forest University

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: treeview with compact indentation?

2009-08-03 Thread Allin Cottrell
On Mon, 3 Aug 2009, Allin Cottrell wrote:

 I wonder if there's a way to produce a more compact layout for a
 treeview with expanders?  I'd like this for a case where the
 treeview is in a left-hand pane, alongside stuff that the tree
 represents.

 I mean, the default looks something like this, with heading 1
 expanded:

 heading 1
item 1
item 2

 But the effect I'm looking for is like:

 heading 1
   item 1
   item 2

 with the children tucked under their parent.

Duh, sorry for the noise: I just had to _not_ put the headings
into a separate first column in the treeview.

Allin Cottrell


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list