Class NeverTrigger

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class NeverTrigger extends ShortcutTrigger
A GtkShortcutTrigger that never triggers.
  • Constructor Details

    • NeverTrigger

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

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

    • getType

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

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

      protected NeverTrigger 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 ShortcutTrigger
      Returns:
      the instance as if it were its parent type
    • get

      public static NeverTrigger get()

      Gets the never trigger.

      This is a singleton for a trigger that never triggers. Use this trigger instead of null because it implements all virtual functions.

      Returns:
      The never trigger
    • builder

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