Re: How to display different nodes with different styles in GtkTreeView?



> Hi:
>   Everybody!Nowdays,I'am developping an application with gtk+,and in the
> user interface,there needs a GtkTreeView to display all files and folders
> in a file system.When display folder,it just needs a pixbuf and
> cellrenderertext to display the folder's name,while when displaying the
> file,there needs an additional checkbox besides the pixbuf and
> cellrenderertext,and how to implement this treeview?

Look at the gtk-demo program. It is shipped along gtk 2.x source (and some
distros ship this with the gtk package)


Stian Skjelstad



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