Function

Gtkdrag_get_source_widget

Declaration [src]

GtkWidget*
gtk_drag_get_source_widget (
  GdkDragContext* context
)

Description [src]

Determines the source widget for a drag.

Parameters

context GdkDragContext
 

A (destination side) drag context.

 The data is owned by the caller of the function.

Return value

Returns: GtkWidget
 

If the drag is occurring within a single application, a pointer to the source widget. Otherwise, NULL.

 The data is owned by the called function.
 The return value can be NULL.