+2009-01-02 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkwidget.c:
+ * gtk/gtkentry.c: Add docs about using ::drag-begin for setting
+ a custom drag icon.
+
2009-01-01 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
* 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,
* The ::drag-begin signal is emitted on the drag source when a drag is
* started. A typical reason to connect to this signal is to set up a
* custom drag icon with gtk_drag_source_set_icon().
+ *
+ * Note that some widgets set up a drag icon in the default handler of
+ * this signal, so you may have to use g_signal_connect_after() to
+ * override what the default handler did.
*/
widget_signals[DRAG_BEGIN] =
g_signal_new (I_("drag-begin"),