PlacesSidebar.connectDragActionAsk

Connect to DragActionAsk signal.

The places sidebar emits this signal when it needs to ask the application to pop up a menu to ask the user for which drag action to perform.

class PlacesSidebar
gulong
connectDragActionAsk
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == int)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] == int)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

int callback(int actions, gtk.places_sidebar.PlacesSidebar placesSidebar)

actions Possible drag actions that need to be asked for. (optional)

placesSidebar the instance the signal is connected to (optional)

Returns the final drag action that the sidebar should pass to the drag side of the drag-and-drop operation.

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID