summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: Keep GdkDrop alive on "ask" actionwip/carlosg/dnd-gestures-2Carlos Garnacho2020-01-051-0/+4
| | | | | | The GdkDrop is automatically destroyed on drag end, but "ask" actions require it to live longer, so the popover can fiddle with it later on.
* gdk/x11: Forward suggested action (if any) to XdndStatusCarlos Garnacho2020-01-051-2/+13
| | | | | | Go ahead with the suggested action, so the drag source may update cursor feedback properly, and eventually result in the correct action.
* popover: Use g_signal_connect_object on parent widget signalCarlos Garnacho2020-01-051-1/+2
| | | | | The popover may be destroyed, leaving this dangling signal. This may cause crashes on future parent widget resizes.
* testdnd2: Add a test for ASK handlingMatthias Clasen2020-01-041-10/+52
| | | | It crashes on Wayland and doesn't work on X :(
* Remove gtkdnd.hMatthias Clasen2020-01-0425-82/+3
|
* Remove gdk_drag_get_dataMatthias Clasen2020-01-044-218/+3
| | | | | | This is not used anymore, so we can remove it, and the GtkDropTarget::drag-data-received signal that it emits.
* treeview: Stop using ::drag-data-receivedMatthias Clasen2020-01-041-9/+13
|
* iconview: Avoid drag-data-receivedMatthias Clasen2020-01-041-14/+23
|
* testtreednd: Use the new asyn selection readMatthias Clasen2020-01-041-5/+20
|
* testlist3: Use async read api for selectionMatthias Clasen2020-01-041-5/+20
|
* filechooser: Convert to GtkDropTargetMatthias Clasen2020-01-042-37/+30
|
* placessidebar: Port to GtkDropTargetMatthias Clasen2020-01-041-60/+63
|
* iconview: Port to GtkDropTargetMatthias Clasen2020-01-043-55/+58
| | | | | | A small api change here is that gtk_icon_view_enable_model_drag_dest now returns a GtkDropTarget that can be used to connect signals.
* Add an async read function for selectionMatthias Clasen2020-01-042-0/+154
| | | | | | This is meant as a replacement for ::drag-data-received in cases where a #GtkSelectionData object is still needed, such as when using GtkTreeModel DND support.
* Remove old drag dest apiMatthias Clasen2020-01-044-599/+3
|
* Move some remaining api overMatthias Clasen2020-01-044-36/+37
|
* listbox: Remove unhighlightingMatthias Clasen2020-01-041-11/+1
| | | | This will have to be done differently, if necessary.
* notebook: Convert to GtkDropTargetMatthias Clasen2020-01-041-101/+76
|
* testtreednd: Convert to GtkDropTargetMatthias Clasen2020-01-041-4/+6
|
* testnotebookdnd: Fix, partiallyMatthias Clasen2020-01-041-15/+49
| | | | Make this mostly work again.
* testtoolbar: Convert to GtkDropTargetMatthias Clasen2020-01-041-18/+13
|
* testlist3: Convert to GtkDropTargetMatthias Clasen2020-01-041-8/+6
|
* testdnd: Convert to GtkDropTargetMatthias Clasen2020-01-041-88/+81
|
* testdnd2: Port to GtkDropTargetMatthias Clasen2020-01-041-36/+39
|
* treeview: Port to GtkDropTargetMatthias Clasen2020-01-042-68/+66
| | | | | | A small api change here is that gtk_tree_view_enable_model_drag_dest now returns a GtkDropTarget that can be used to connect signals.
* textview: Port to GtkDropTargetMatthias Clasen2020-01-041-177/+92
|
* filechoserbutton: Convert to GtkDropTargetMatthias Clasen2020-01-041-52/+82
|
* stackswitcher: Port to GtkDropTargetMatthias Clasen2020-01-041-14/+23
|
* expander: Port to GtkDropTargetMatthias Clasen2020-01-041-18/+21
|
* window: Port to GtkDragDestMatthias Clasen2020-01-041-4/+3
|
* text: Port to GtkDropTargetMatthias Clasen2020-01-041-101/+100
|
* colorswatch: Port to GtkDropTargetMatthias Clasen2020-01-041-36/+56
|
* colorbutton: Port to GtkDropTargetMatthias Clasen2020-01-041-45/+31
|
* calendar: Port to GtkDropTargetMatthias Clasen2020-01-041-91/+77
|
* gtk-demo: Convert clipboard demo to GtkDropTargetMatthias Clasen2020-01-041-24/+50
|
* drop: Add a convenience apiMatthias Clasen2020-01-042-0/+30
| | | | | This is a question that drag-drop handlers frequently need to answer, so make it easy.
* Add a GtkDropTarget objectMatthias Clasen2020-01-046-79/+838
| | | | | | Add an explicit GtkDropTarget object, and move the destination-side DND signals here. The object is used by connecting to its signals and attaching it to a widget with gtk_drop_target_attach().
* Hook up the GtkDragSource docsMatthias Clasen2020-01-043-0/+34
|
* Move the rest of the drag-source api overMatthias Clasen2020-01-045-45/+40
| | | | Just reshuffling some source.
* docs: Mention DND in the migration guideMatthias Clasen2020-01-041-0/+16
|
* Remove traditional drag source APIMatthias Clasen2020-01-046-1342/+0
| | | | | | gtk_drag_source_set, gtk_drag_begin, related apis and the GtkWidget source-side signals have all been replaced by GtkDragSource.
* tests: Convert to GtkDragSourceMatthias Clasen2020-01-048-465/+162
| | | | | | Some tests, such as testimage did not have anything particularly worth keeping, so were removed instead of fixed.
* notebook: Port to GtkDragSourceMatthias Clasen2020-01-041-62/+89
|
* filechooser: Port to GtkDragSourceMatthias Clasen2020-01-042-20/+19
|
* treeview: Port to GtkDragSourceMatthias Clasen2020-01-042-63/+70
| | | | | | A small api change here is that gtk_tree_view_enable_model_drag_source now returns a GtkDragSource that can be used to connect signals.
* placessidebar: Port to GtkDragSourceMatthias Clasen2020-01-041-35/+32
|
* iconview: Port to GtkDragSourceMatthias Clasen2020-01-043-69/+72
| | | | | | A small api change here is that gtk_icon_view_enable_model_drag_source now returns a GtkDragSource that can be used to connect signals.
* Add another callback-based providerMatthias Clasen2020-01-042-3/+155
| | | | | | This one can be used in cases where data needs to be served in multiple formats that may not all be covered by content serializers.
* iconbrowser: Port to GtkDragSourceMatthias Clasen2020-01-041-67/+70
|
* gtk-demo: Convert the clipboard demo to GtkDragSourceMatthias Clasen2020-01-041-25/+22
|