help with image swap example

2007-10-14 Thread happy programmer
What would be the "best" way to code a GTK2 app to read in the filenames of some .jpg images from a hard coded directory path, display those filenames in a list, default to displaying the first image, and display the name in a label below the image. I would like to have it where clicking on another

Re: drag and drop on GtkContainer

2007-10-14 Thread Armin Burgmeier
On Sun, 2007-10-14 at 21:12 +0200, Johannes Schmid wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi! > > I am trying drag and drop on an GtkContainer and I want to find out the > nearest child from the drop point. So far I tried to get the child > position using gtk_widget_get_win

drag and drop on GtkContainer

2007-10-14 Thread Johannes Schmid
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I am trying drag and drop on an GtkContainer and I want to find out the nearest child from the drop point. So far I tried to get the child position using gtk_widget_get_window() and gdk_window_get_position() but that gives me the save position for

Re: Don't understand valgrind output

2007-10-14 Thread Allin Cottrell
On Sat, 13 Oct 2007, Michael Lamothe wrote: > I have been struggling with application freezes in my application for > about 2 months and I was hoping that I could get some help. I've been > cleaning the application up with errors reported by valgrind but can't > seem to work out what this means.