summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-18 05:23:59 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-18 05:23:59 +0000
commit77f3189adc4cc609946715abd129ab24d89526d6 (patch)
treef3aca89e9bd5e993b7c07f7738c4ab07e1179e61 /gtk/gtkdnd.h
parentdf1cc88424520f77a2f7ebcd94722cb14b33e0cd (diff)
downloadgtk+-77f3189adc4cc609946715abd129ab24d89526d6.tar.gz
New functions to support themed drag icons. (#116577, Christian Neumair)
2005-05-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkdnd.h: * gtk/gtkdnd.c (gtk_drag_source_set_icon_name) (gtk_drag_set_icon_name): New functions to support themed drag icons. (#116577, Christian Neumair)
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r--gtk/gtkdnd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h
index ba52415df8..e82d6c3063 100644
--- a/gtk/gtkdnd.h
+++ b/gtk/gtkdnd.h
@@ -112,6 +112,8 @@ void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
GdkPixbuf *pixbuf);
void gtk_drag_source_set_icon_stock (GtkWidget *widget,
const gchar *stock_id);
+void gtk_drag_source_set_icon_name (GtkWidget *widget,
+ const gchar *icon_name);
/* There probably should be functions for setting the targets
* as a GtkTargetList
@@ -143,6 +145,10 @@ void gtk_drag_set_icon_stock (GdkDragContext *context,
const gchar *stock_id,
gint hot_x,
gint hot_y);
+void gtk_drag_set_icon_name (GdkDragContext *context,
+ const gchar *icon_name,
+ gint hot_x,
+ gint hot_y);
void gtk_drag_set_icon_default (GdkDragContext *context);