Re: gui for trees



kiranc wrote:
hi

I want to maka GUI for redblack trees. Is this possible with GTK+ ? Are
there any bultin widgets available or should I make a new widget for this purpose?

A red-black tree is a data structure, as is a b-tree and a linked list. You won't find dedicated Gtk widgets for any of them, because typically what's beneficial for a data structure may not be for graphical widget.

That being said, take a look at GtkTreeView. You may be able to utilize that to display the data in your red-black tree data structure.

--
Guy Rouillier



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