summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-01 02:25:18 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-01-08 18:48:20 -0500
commit9b01d9a78421d04472e1b9397428c7ca9b2e4a08 (patch)
tree58ea8d35732f7178d601f2a2b0611172a1002e45 /gtk/gtkwidget.h
parentb4c689ecd623c38b22fc7f3f6a83860d5d1e02f6 (diff)
downloadgtk+-9b01d9a78421d04472e1b9397428c7ca9b2e4a08.tar.gz
Remove traditional drag source API
gtk_drag_source_set, gtk_drag_begin, related apis and the GtkWidget source-side signals have all been replaced by GtkDragSource.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 2eb5c2797c..47dc7fc0ad 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -187,14 +187,6 @@ struct _GtkWidget
* @focus:
* @move_focus: Signal emitted when a change of focus is requested
* @keynav_failed: Signal emitted if keyboard navigation fails.
- * @drag_begin: Signal emitted on the drag source when a drag is
- * started.
- * @drag_end: Signal emitted on the drag source when a drag is
- * finished.
- * @drag_data_get: Signal emitted on the drag source when the drop
- * site requests the data which is dragged.
- * @drag_data_delete: Signal emitted on the drag source when a drag
- * with the action %GDK_ACTION_MOVE is successfully completed.
* @drag_leave: Signal emitted on the drop site when the cursor leaves
* the widget.
* @drag_motion: signal emitted on the drop site when the user moves
@@ -203,8 +195,6 @@ struct _GtkWidget
* data onto the widget.
* @drag_data_received: Signal emitted on the drop site when the
* dragged data has been received.
- * @drag_failed: Signal emitted on the drag source when a drag has
- * failed.
* @popup_menu: Signal emitted whenever a widget should pop up a
* context menu.
* @get_accessible: Returns the accessible object that describes the
@@ -276,17 +266,6 @@ struct _GtkWidgetClass
gboolean (* keynav_failed) (GtkWidget *widget,
GtkDirectionType direction);
- /* Source side drag signals */
- void (* drag_begin) (GtkWidget *widget,
- GdkDrag *drag);
- void (* drag_end) (GtkWidget *widget,
- GdkDrag *drag);
- void (* drag_data_get) (GtkWidget *widget,
- GdkDrag *drag,
- GtkSelectionData *selection_data);
- void (* drag_data_delete) (GtkWidget *widget,
- GdkDrag *drag);
-
/* Target side drag signals */
void (* drag_leave) (GtkWidget *widget,
GdkDrop *drop);
@@ -301,9 +280,6 @@ struct _GtkWidgetClass
void (* drag_data_received) (GtkWidget *widget,
GdkDrop *drop,
GtkSelectionData *selection_data);
- gboolean (* drag_failed) (GtkWidget *widget,
- GdkDrag *drag,
- GtkDragResult result);
/* Signals used only for keybindings */
gboolean (* popup_menu) (GtkWidget *widget);