Features/GTK3/Porting/InfoSlicer: Difference between revisions
| Line 22: | Line 22: | ||
'article-selected' : (GObject.SignalFlags.RUN_FIRST, None, [object]), | 'article-selected' : (GObject.SignalFlags.RUN_FIRST, None, [object]), | ||
=== Drag And Drop: drag-motion === | |||
* http://www.pygtk.org/pygtk2tutorial/sec-DNDMethods.html#sec-SettingUpDestinationWidget | |||
* http://developer.gnome.org/gdk/2.24/gdk-Drag-and-Drop.html#GdkDragContext | |||
The signal <tt>drag-motion</tt> works in the same way as it was working on gtk2, but the callback used by InfoSlicer should be a bit modified to use the ''new'' method: | |||
context.drag_status(Gdk.DragAction.COPY, timestamp) | |||
changed by: | |||
Gdk.drag_status(context, Gdk.DragAction.COPY, timestamp) | |||
== Working with threads == | == Working with threads == | ||