Re: TreeView indent-expanders style property



On Mon, Mar 24, 2008 at 03:50:29PM -0600, Jeffrey Barish wrote:
Does anyone know what the indent-expanders style property does?

Can I use indent-expanders to achieve this effect?  Is there a way to
achieve it?  The point is to avoid wasting space on lines that don't
require an expander arrow.

No, the indent-expanders style property will not be of use here.  What
the indent-expanders style property does is distinguish between

Line 1
  > Line 2
    > Line 3
  Line 4

and this case:

Line 1
   Line 2
     Line 3
  Line 4

Avoiding "wasting" space for non-parent nodes is not something that is
supported by GtkTreeView by default.  If you really want to deviate from
the defaults here, the custom expander cell renderer route Thomas talks
about in his mail is probably your best bet.


regards,

-kris.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]