[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: drag and drop on GtkContainer
- From: Armin Burgmeier <armin arbur net>
- To: Johannes Schmid <johannes schmid gmx de>
- Cc: gtk-app-devel-list gnome org, Murray Cumming <murrayc murrayc com>
- Subject: Re: drag and drop on GtkContainer
- Date: Sun, 14 Oct 2007 23:10:35 +0200
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]