drag and drop on GtkContainer



-----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?

Thanks,
Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHEmoW7Dsf+G5b/WsRAq3rAKCwNjtAxieuCfGetn13duqjgsZbkwCgzx8h
IvLLRuzVz4yHfZgsW8NaHCo=
=bSbz
-----END PGP SIGNATURE-----



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