Class ShortcutsShortcut

All Implemented Interfaces:
Accessible, Buildable, ConstraintTarget, Proxy

@Generated("org.javagi.JavaGI") @Deprecated public class ShortcutsShortcut extends Widget implements Accessible, Buildable, ConstraintTarget
Deprecated.
This widget will be removed in GTK 5

A GtkShortcutsShortcut represents a single keyboard shortcut or gesture with a short text.

This widget is only meant to be used with GtkShortcutsWindow.

  • Constructor Details

    • ShortcutsShortcut

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

      public ShortcutsShortcut()
      Deprecated.
      Create a new ShortcutsShortcut.
  • Method Details

    • getType

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

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

      protected ShortcutsShortcut asParent()
      Deprecated.
      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 Widget
      Returns:
      the instance as if it were its parent type
    • builder

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