PlacesSidebar.connectDragActionAsk

gulong connectDragActionAsk(T)(T callback, 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 && is(Parameters!T[1] : gtk.places_sidebar.PlacesSidebar))) && Parameters!T.length < 3)

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.

Parameters

callbacksignal 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.
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID