[Gtk-sharp-list] Images as buttons
Miguel de Icaza
21 Aug 2003 12:55:44 -0400
> I'm writing an image-processing application using gtk-sharp, hopefully to run under Linux and Windows. I'd like to have a table of image thumbnails, where the user can click on different thumbnails to select them and then process the selected images. My current idea is to create a table of buttons, where for each button b I call b.Add(image) with image a Gtk.Image (created from a Pixbuf). This seems to work, and by doing
> b.Clicked += new EventHandler (callback);
> I can cause the function callback to be executed each time b is clicked.
You might want to use the image list widget on mPhoto to dothis and
tweak at wil.