Re: drag and drop on GtkContainer

2007-10-16 Thread Johannes Schmid
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! >> and gdk_window_get_position() but >> that gives me the save position for all children > > I don't understand what you mean by "save position". Sorry, I meant "same" here - very bad typo. > I happen to know that you are trying to implement dr

Re: drag and drop on GtkContainer

2007-10-16 Thread Murray Cumming
On Sun, 2007-10-14 at 21:12 +0200, Johannes Schmid wrote: > 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() I can't find this function. Do you mean GtkWidget::win

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