TabBar.connectExtraDragDrop

Connect to ExtraDragDrop signal.

This signal is emitted when content is dropped onto a tab.

The content must be of one of the types set up via adw.tab_bar.TabBar.setupExtraDropTarget.

See gtk.drop_target.DropTarget.drop.

class TabBar
ulong
connectExtraDragDrop
(
T
)
(,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == bool)
&&
(
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
)

Parameters

callback T

signal callback delegate or function to connect

bool 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 whether the drop was accepted for page

after Flag!"After"

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

Return Value

Type: ulong

Signal ID