[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tree view
From: |
Thomas Dickey |
Subject: |
Re: Tree view |
Date: |
Sun, 27 Feb 2005 16:58:52 -0500 (EST) |
On Sun, 27 Feb 2005, Jonas Jacobsson wrote:
Hi,
I'm rather new to ncurses and C in general and is searching
for a way to handle a tree view. Of what I can read from the
ncurses how-to's, there is no special support for this in the
ncurses family of libs?
If not, how do you folks out there do this?
I haven't done one recently, but my directory editor displays a directory
tree for instance. That's done by drawing the associated lines onto a
window as if it was a viewport. The directory tree can get rather large
- I see about 20,000 nodes on an average machine. Besides moving the
cursor around on the lines, it can collapse/expand nodes.
Something of that general nature might be nice to have in a reusable form.
I do have a to-do item for dialog to implement a tree widget (seeing that
Xdialog does that), but haven't done that.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- Tree view, Jonas Jacobsson, 2005/02/27
- Re: Tree view,
Thomas Dickey <=