Class VolumeButton

All Implemented Interfaces:
Accessible, AccessibleRange, Buildable, ConstraintTarget, Orientable, Proxy

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

GtkVolumeButton is a GtkScaleButton subclass tailored for volume control.

An example GtkVolumeButton
  • Constructor Details

    • VolumeButton

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

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

    • getType

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

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

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

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