summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-01-02 20:55:54 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-01-02 20:55:54 +0000
commit125e80a64b1c366c35c0e78a719c18980eeabaf0 (patch)
treedb16f848d23df3254fc2dd2d9f4ffcdf1c9811a2 /gtk/gtkentry.c
parent11956bc22a18042dcca72d612a6a4cad5d3ea1fc (diff)
downloadgtk+-125e80a64b1c366c35c0e78a719c18980eeabaf0.tar.gz
Add docs
svn path=/trunk/; revision=22042
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r--gtk/gtkentry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index b7aa3b3778..20a21c8a3f 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -7613,6 +7613,11 @@ gtk_entry_get_icon_at_pos (GtkEntry *entry,
* signal, and use gtk_entry_get_current_icon_drag_source() in
* your signal handler to find out if the drag was started from
* an icon.
+ *
+ * By default, GTK+ uses the icon as the drag icon. You can use the
+ * #GtkWidget::drag-begin signal to set a different icon. Note that you
+ * have to use g_signal_connect_after() to ensure that your signal handler
+ * gets executed after the default handler.
*/
void
gtk_entry_set_icon_drag_source (GtkEntry *entry,