Interface Notebook.OnCreateWindow

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

    Modifier and Type
    Method
    Description
    The ::create-window signal is emitted when a detachable
    tab is dropped on the root window.
  • Method Details

    • onCreateWindow

      Notebook onCreateWindow(@Nonnull Widget page)
      The ::create-window signal is emitted when a detachable
      tab is dropped on the root window.

      A handler for this signal can create a window containing
      a notebook where the tab will be attached. It is also
      responsible for moving/resizing the window and adding the
      necessary properties to the notebook (e.g. the
      `GtkNotebook`:group-name ).
      Parameters:
      page - the tab of @notebook that is being detached
      Returns:
      a `GtkNotebook` that @page should be added to