adopt_widget


Description:

[ Version ( since = "1.2" ) ]
public signal bool adopt_widget (Widget widget)

Signal is emitted when a widget is requesting to be added via a drag-n-drop event.

This is generally propagated via adopt_widget to the dock so that applications do not need to attach signal handlers to every Frame.

Parameters:

widget

a Widget

Returns:

gdk_event_stop to prevent dropping, otherwise gdk_event_propagate to allow adopting the widget.