signal callback delegate or function to connect
bool callback(panel.widget.Widget widget, panel.dock.Dock dock)
widget a #PanelWidget (optional)
dock the instance the signal is connected to (optional)
Returns GDK_EVENT_STOP to prevent dropping, otherwise GDK_EVENT_PROPAGATE to allow adopting the widget.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to AdoptWidget signal.
Signal is emitted when a widget is requesting to be added via a drag-n-drop event.
This is generally propagated via #PanelFrame::adopt-widget to the dock so that applications do not need to attach signal handlers to every #PanelFrame.