Re: DND pointer position



From: "Mathias" <mathias openbrookes org>:
I need to get the position of the pointer when drag-begin is emitted.
I could use gdk_display_get_pointer, but it gives the position related
to the window, and I need the pointer position related to a widget.

Has anybody any idea on how to do that?
Hi!
You can simply call gtk_widget_get_pointer().
-- 
Regards,
                           Peter



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