Interface TabBar.OnExtraDragDrop

Enclosing class:
TabBar
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TabBar.OnExtraDragDrop
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This signal is emitted when content is dropped onto a tab.
  • Method Details

    • onExtraDragDrop

      boolean onExtraDragDrop(@Nonnull TabPage page, @Nonnull Value value)
      This signal is emitted when content is dropped onto a tab.

      The content must be of one of the types set up via
      [method@TabBar.setup_extra_drop_target].

      See [signal@Gtk.DropTarget::drop].
      Parameters:
      page - the page matching the tab the content was dropped onto
      value - the `GValue` being dropped
      Returns:
      whether the drop was accepted for @page