prepare


Description:

public signal ContentProvider? prepare (double x, double y)

The prepare signal is emitted when a drag is about to be initiated.

It returns the * ContentProvider to use for the drag that is about to start. The default handler for this signal returns the value of the content property, so if you set up that property ahead of time, you don't need to connect to this signal.

Parameters:

x

the X coordinate of the drag starting point

y

the Y coordinate fo the drag starting point

Returns:

a ContentProvider, or null