TabBar.connectExtraDragValue
gulong connectExtraDragValue(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == gdk.types.DragAction)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : adw.tab_page.TabPage)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == gobject.value.Value)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : adw.tab_bar.TabBar)))
&& Parameters!T.length < 4)Connect to ExtraDragValue signal.
This signal is emitted when the dropped content is preloaded.
In order for data to be preloaded, propertyTabBar:extra-drag-preload must be set to TRUE.
The content must be of one of the types set up via [adw.tab_bar.TabBar.setupExtraDropTarget].
See [gtk.drop_target.DropTarget.value].
Parameters
callback | signal callback delegate or function to connect gdk.types.DragAction callback(adw.tab_page.TabPage page, gobject.value.Value value, adw.tab_bar.TabBar tabBar) page the page matching the tab the content was dropped onto (optional) value the [gobject.value.Value] being dropped (optional) tabBar the instance the signal is connected to (optional) Returns the preferred action for the drop on page |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID