Re: Whats coming in GTK+ 2.12, part 3



On Thu, 2007-06-07 at 14:14 -0400, Matthias Clasen wrote:
[snip]
> When a Drag-and-Drop operation fails for some reason, GTK+
> displays an animation moving the drag cursor back to the source
> of the drag. In some situations (e.g. with notebook tab DND)
> this animation is not appropriate, and the ::drag-failed
> signal has been added to GtkWidget to allow handling failed
> drags differently. 

The marshaller might be wrong for this one, looking at the
documentation. Or does it really send an enum?

  widget_signals[DRAG_FAILED] =
    g_signal_new (I_("drag_failed"),
		  G_TYPE_FROM_CLASS (gobject_class),
		  G_SIGNAL_RUN_LAST,
		  0, _gtk_boolean_handled_accumulator, NULL,
		  _gtk_marshal_BOOLEAN__OBJECT_ENUM,
		  G_TYPE_BOOLEAN, 2,
		  GDK_TYPE_DRAG_CONTEXT,
		  GTK_TYPE_DRAG_RESULT);

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]