Features/GTK3/Porting/InfoSlicer: Difference between revisions

Humitos (talk | contribs)
Humitos (talk | contribs)
Line 36: Line 36:
  Gdk.drag_status(context, Gdk.DragAction.COPY, timestamp)
  Gdk.drag_status(context, Gdk.DragAction.COPY, timestamp)


=== Drag And Drop: drag-data-received ===
* http://developer.gnome.org/gtk3/3.5/gtk3-Selections.html#GtkSelectionData-struct
data_received_type = str(selection_data.type)   
data = cPickle.loads(str(selection_data.data))
replaced by:
data_received_type = str(selection_data.get_data_type())   
data = cPickle.loads(str(selection_data.get_data()))


== Working with threads ==
== Working with threads ==