drop


Description:

public signal bool drop (uint index, Value value, DragAction preferred_action)

Emitted when content is dropped onto the item at index.

The content must be of one of the types set up via [method@Sidebar.setup_drop_target].

See [signal@Gtk.DropTarget:AdwSidebar:drop].

Parameters:

index

index of the item the content was dropped onto

value

the `GValue` being dropped

preferred_action

the preferred drop action

Returns:

whether the drop was accepted

SinceL 1.9