Please, help me with Tree



Hello,

Before with Gtk 1.2 I use GtkCTree but now I can see this in gtkctree.h
with gtk 2 : #ifndef GTK_DISABLE_DEPRECATED.
So I suppose that it's not a good idea to use this widget and
consequently I want to use GtkTreeView. But I have many probleme with
this widget. I wan't to do this :
http://www.arnoraes.freesurf.fr/Forum/gtkctree.png and if you want the
code is here : http://www.arnoraes.freesurf.fr/Forum/CTree.c.

To do this, I see the code of gtk-demo. I read the code of the Tree
store sample. To make my tree, first I must create a model so I do this.
Then I must describe the type of heach colum: text, toggle or pixbuf.
And now I don't find what I want :

- before I use : gtk_ctree_insert_node where I can chose the pixmap and
in gtk2 nothing.

- I don't find the option to draw the line between each element.


If you could help to transpose my gtk 1.2 code in gtk 2.0 I would be
really very happy.

Thank you
Arno

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif





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