Schnittstelle TabBar.OnExtraDragValue

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.OnExtraDragValue
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    This signal is emitted when the dropped content is preloaded.
  • Methodendetails

    • onExtraDragValue

      int onExtraDragValue(@Nonnull TabPage page, @Nonnull Value value)
      This signal is emitted when the dropped content is preloaded.

      In order for data to be preloaded, [property@TabBar:extra-drag-preload]
      must be set to `TRUE`.

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

      See [property@Gtk.DropTarget:value].
      Parameter:
      page - the page matching the tab the content was dropped onto
      value - the `GValue` being dropped
      Gibt zurück:
      the preferred action for the drop on @page