Schnittstelle TabBar.OnExtraDragDrop

Umschließende Klasse:
TabBar
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface TabBar.OnExtraDragDrop
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    This signal is emitted when content is dropped onto a tab.
  • Methodendetails

    • 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].
      Parameter:
      page - the page matching the tab the content was dropped onto
      value - the `GValue` being dropped
      Gibt zurück:
      whether the drop was accepted for @page