Class PasswordEntryBuffer

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class PasswordEntryBuffer extends EntryBuffer

A GtkEntryBuffer that locks the underlying memory to prevent it from being swapped to disk.

GtkPasswordEntry uses a GtkPasswordEntryBuffer.

Since:
4.4
  • Constructor Details

    • PasswordEntryBuffer

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

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

    • getType

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

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

      protected PasswordEntryBuffer 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 EntryBuffer
      Returns:
      the instance as if it were its parent type
    • builder

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