Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tile Treeview style/look questions

19 views
Skip to first unread message

Adrian Davis

unread,
Jun 25, 2007, 2:52:38 PM6/25/07
to
Is it possible to change the "look" of the tile treeview?

For example:-

*) Is it possible to not have alternate lines coloured?

*) Is it possible to have only the text background of the selected
node highlighted (not the whole line).

*) Is it possible to have "lines" joining the nodes in a tree-like
fashion?

Many Thanks,
=Adrian=

Joe English

unread,
Jul 2, 2007, 9:10:59 PM7/2/07
to
Adrian Davis wrote:
>Is it possible to change the "look" of the tile treeview?

To some extent. Probably not enough to do what you want yet.

>For example:-
>
>*) Is it possible to not have alternate lines coloured?

In 0.7.8 and earlier, the treeview had zebra-stripes whether
you wanted them or not. This feature has been removed in CVS
and in Tk 8.5a7. The plan is to reintroduce it at a later date
via a "-rowtags" option.

-rowtags will specify a list of item tags applied cyclically to
successive rows. For example:

$tv tag configure even -background #CCCCCC
$tv tag configure odd -background #FFFFFF
$tv configure -rowtags {even odd}

>*) Is it possible to have only the text background of the selected
>node highlighted (not the whole line).

Yes, with difficulty.

>*) Is it possible to have "lines" joining the nodes in a tree-like
>fashion?

Not yet, but it's on the List Of Things To Do.


--Joe English

0 new messages