summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-10-21 04:53:23 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-21 04:53:23 +0000
commit968b192fecf7e52830d2355904ffc557908dea73 (patch)
tree157186eaf1b03577564931b5d2ac583bd9bcb44c /gtk/gtkdnd.h
parentbfb64fa04f98fc9f7eb5f4da39ab409934f1afd2 (diff)
downloadgtk+-968b192fecf7e52830d2355904ffc557908dea73.tar.gz
Add convenience api for image dnd (#150165):
2004-10-21 Matthias Clasen <mclasen@redhat.com> Add convenience api for image dnd (#150165): * gtk/gtkselection.h: * gtk/gtkselection.c (gtk_target_list_add_image_targets) (gtk_selection_data_set_pixbuf, gtk_selection_data_get_pixbuf): New functions to handle the image formats readable/writable by gdk-pixbuf. * gtk/gtkdnd.h: * gtk/gtkdnd.c (gtk_drag_dest_add_image_targets) (gtk_drag_source_add_text_targets): New functions to handle the image formats readable/writable by gdk-pixbuf.
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r--gtk/gtkdnd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h
index bfcbb50c37..1932340290 100644
--- a/gtk/gtkdnd.h
+++ b/gtk/gtkdnd.h
@@ -86,6 +86,7 @@ GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget);
void gtk_drag_dest_set_target_list (GtkWidget *widget,
GtkTargetList *target_list);
void gtk_drag_dest_add_text_targets (GtkWidget *widget);
+void gtk_drag_dest_add_image_targets (GtkWidget *widget);
/* Source side */
@@ -101,6 +102,7 @@ GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget);
void gtk_drag_source_set_target_list (GtkWidget *widget,
GtkTargetList *target_list);
void gtk_drag_source_add_text_targets (GtkWidget *widget);
+void gtk_drag_source_add_image_targets (GtkWidget *widget);
void gtk_drag_source_set_icon (GtkWidget *widget,
GdkColormap *colormap,