Interface TabView.OnCreateWindow

Enclosing class:
TabView
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 TabView.OnCreateWindow
  • Method Summary

    Modifier and Type
    Method
    Description
    Emitted when a tab should be transferred into a new window.
  • Method Details

    • onCreateWindow

      TabView onCreateWindow()
      Emitted when a tab should be transferred into a new window.

      This can happen after a tab has been dropped on desktop.

      The signal handler is expected to create a new window, position it as
      needed and return its `AdwTabView` that the page will be transferred into.
      Returns:
      the `AdwTabView` from the new window