Re: Random Number of Buttons



On Thu, 2006-04-20 at 18:40 -0700, 3saul wrote:

OK what I'm trying to do is this:

1. Read a directory full of images (the images in the directory will change)
2. Create a table with the correct number of cells.
3. Put a button in each cell with an image on it from the directory
4. In the cell below the image put the name of the file on a label

I've seen GTKIconView but that seems complicated to me (I'm a beginner)

Using an GtkIconView will be easier than anything else I can think of.  Take the challenge and use the 
treeview.  Here is my favorite tutorial for treeview in general: 
http://scentric.net/tutorial/treeview-tutorial.html

Here is a link to an complete example using the full GtkTreeView:
http://scentric.net/tutorial/sec-treeview-col-pixbufs.html

James,

--
View this message in context: http://www.nabble.com/Random-Number-of-Buttons-t1480088.html#a4019004
Sent from the Gtk+ - Apps Dev forum 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



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