Re: Which widget should I use?



For any type of list elements, even trees, you must use GtkTreeView, and
create a model with the data you want; inside of each element you can put
any thing you want using GtkCellRenderer, like buttons, images, text, etc.

2006/8/8, Fernando Apesteguía <fernando apesteguia gmail com>:

Hi list!

I need to represent some data in my application. The data is actually a
trace of functions. The size of the list is not fixed, but it has a limit
of
200 elements. When the 200 limit is reached, I clear the older element and
then add the new one.
I have the list in a file (from procfs) and now I need to show it. I
thought
about to draw the name of the function inside a rectangle and then an
arrow
pointing to the next element. Something like this:

_____            _____
|func1|   --->   |func2|
----------           --------

But I don't know what kind of widget I need to use. Maybe this is not the
best way to represent this... should I use a treeview to show the list?
Which are the advantages?

Thanks in advance.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los cuates:
LIBRE)



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