Re: gui for trees

2006-10-23 Thread Michael Ekstrand
On Oct 22, 2006, at 1:13 AM, kiranc wrote:
 Guy Rouillier-2 wrote:

 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.


 TreeView has a left-right display. I need a top-down display. Can i  
 modify
 the treeview widget or write a new widget for this purpose in GTK+.

Sure, you can do either one.  Which is easier/better depends on how  
much like the standard GTK+ treeview you want your display to look.

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


gui for trees

2006-10-21 Thread kiranc

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?

regards
Kiran
-- 
View this message in context: 
http://www.nabble.com/gui-for-trees-tf2486007.html#a6931795
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.

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


Re: gui for trees

2006-10-21 Thread Guy Rouillier
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
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list