Re: Gtk3 DragContext



On 04.01.2018 18:43, Jeff wrote:
It seems to be that the "drag-motion" signal shouldn't have changed
since Gtk2:

https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-drag-motion

However, the context seems to be now passed as
Glib::Object::_Unregistered::GdkX11DragContext. How do I dig out the
actions flag (i.e. move or copy) from this?

This context object's class should inherit from Gtk3::Gdk::DragContext
so that you should be able to use the get_actions() method on the object.


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