Class NotebookPage

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class NotebookPage extends GObject
An auxiliary object used by GtkNotebook.
  • Constructor Details

    • NotebookPage

      public NotebookPage(MemorySegment address)
      Create a NotebookPage instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • NotebookPage

      public NotebookPage()
      Create a new NotebookPage.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the NotebookPage class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected NotebookPage asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class GObject
      Returns:
      the instance as if it were its parent type
    • getChild

      public Widget getChild()
      Returns the notebook child to which this NotebookPage belongs.
      Returns:
      the child to which this NotebookPage belongs
    • builder

      public static NotebookPage.Builder<? extends NotebookPage.Builder> builder()
      A NotebookPage.Builder object constructs a NotebookPage with the specified properties. Use the various set...() methods to set properties, and finish construction with NotebookPage.Builder.build().
      Returns:
      the builder object