Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Keep GdkDrop alive on "ask" actionwip/carlosg/dnd-gestures-2 | Carlos Garnacho | 2020-01-05 | 1 | -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 XdndStatus | Carlos Garnacho | 2020-01-05 | 1 | -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 signal | Carlos Garnacho | 2020-01-05 | 1 | -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 handling | Matthias Clasen | 2020-01-04 | 1 | -10/+52 |
| | | | | It crashes on Wayland and doesn't work on X :( | ||||
* | Remove gtkdnd.h | Matthias Clasen | 2020-01-04 | 25 | -82/+3 |
| | |||||
* | Remove gdk_drag_get_data | Matthias Clasen | 2020-01-04 | 4 | -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-received | Matthias Clasen | 2020-01-04 | 1 | -9/+13 |
| | |||||
* | iconview: Avoid drag-data-received | Matthias Clasen | 2020-01-04 | 1 | -14/+23 |
| | |||||
* | testtreednd: Use the new asyn selection read | Matthias Clasen | 2020-01-04 | 1 | -5/+20 |
| | |||||
* | testlist3: Use async read api for selection | Matthias Clasen | 2020-01-04 | 1 | -5/+20 |
| | |||||
* | filechooser: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 2 | -37/+30 |
| | |||||
* | placessidebar: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -60/+63 |
| | |||||
* | iconview: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 3 | -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 selection | Matthias Clasen | 2020-01-04 | 2 | -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 api | Matthias Clasen | 2020-01-04 | 4 | -599/+3 |
| | |||||
* | Move some remaining api over | Matthias Clasen | 2020-01-04 | 4 | -36/+37 |
| | |||||
* | listbox: Remove unhighlighting | Matthias Clasen | 2020-01-04 | 1 | -11/+1 |
| | | | | This will have to be done differently, if necessary. | ||||
* | notebook: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -101/+76 |
| | |||||
* | testtreednd: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -4/+6 |
| | |||||
* | testnotebookdnd: Fix, partially | Matthias Clasen | 2020-01-04 | 1 | -15/+49 |
| | | | | Make this mostly work again. | ||||
* | testtoolbar: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -18/+13 |
| | |||||
* | testlist3: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -8/+6 |
| | |||||
* | testdnd: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -88/+81 |
| | |||||
* | testdnd2: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -36/+39 |
| | |||||
* | treeview: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 2 | -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 GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -177/+92 |
| | |||||
* | filechoserbutton: Convert to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -52/+82 |
| | |||||
* | stackswitcher: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -14/+23 |
| | |||||
* | expander: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -18/+21 |
| | |||||
* | window: Port to GtkDragDest | Matthias Clasen | 2020-01-04 | 1 | -4/+3 |
| | |||||
* | text: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -101/+100 |
| | |||||
* | colorswatch: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -36/+56 |
| | |||||
* | colorbutton: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -45/+31 |
| | |||||
* | calendar: Port to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -91/+77 |
| | |||||
* | gtk-demo: Convert clipboard demo to GtkDropTarget | Matthias Clasen | 2020-01-04 | 1 | -24/+50 |
| | |||||
* | drop: Add a convenience api | Matthias Clasen | 2020-01-04 | 2 | -0/+30 |
| | | | | | This is a question that drag-drop handlers frequently need to answer, so make it easy. | ||||
* | Add a GtkDropTarget object | Matthias Clasen | 2020-01-04 | 6 | -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 docs | Matthias Clasen | 2020-01-04 | 3 | -0/+34 |
| | |||||
* | Move the rest of the drag-source api over | Matthias Clasen | 2020-01-04 | 5 | -45/+40 |
| | | | | Just reshuffling some source. | ||||
* | docs: Mention DND in the migration guide | Matthias Clasen | 2020-01-04 | 1 | -0/+16 |
| | |||||
* | Remove traditional drag source API | Matthias Clasen | 2020-01-04 | 6 | -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 GtkDragSource | Matthias Clasen | 2020-01-04 | 8 | -465/+162 |
| | | | | | | Some tests, such as testimage did not have anything particularly worth keeping, so were removed instead of fixed. | ||||
* | notebook: Port to GtkDragSource | Matthias Clasen | 2020-01-04 | 1 | -62/+89 |
| | |||||
* | filechooser: Port to GtkDragSource | Matthias Clasen | 2020-01-04 | 2 | -20/+19 |
| | |||||
* | treeview: Port to GtkDragSource | Matthias Clasen | 2020-01-04 | 2 | -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 GtkDragSource | Matthias Clasen | 2020-01-04 | 1 | -35/+32 |
| | |||||
* | iconview: Port to GtkDragSource | Matthias Clasen | 2020-01-04 | 3 | -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 provider | Matthias Clasen | 2020-01-04 | 2 | -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 GtkDragSource | Matthias Clasen | 2020-01-04 | 1 | -67/+70 |
| | |||||
* | gtk-demo: Convert the clipboard demo to GtkDragSource | Matthias Clasen | 2020-01-04 | 1 | -25/+22 |
| |