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_window() and gdk_window_get_position() but
> that gives me the save position for all children (most likely the
> container position). I also tried to put every child into a GtkEventBox
> but that did not help either!
> 
> Any ideas?

Did you try checking the widget's allocation (widget->allocation)?

Armin

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to