Klasse Bin

Alle implementierten Schnittstellen:
PointerInterface

public class Bin extends Widget
A widget with one child.

<picture>
<source srcset="bin-dark.png" media="(prefers-color-scheme: dark)">
<img src="bin.png" alt="bin">
</picture>

The `AdwBin` widget has only one child, set with the [property@Bin:child]
property.

It is useful for deriving subclasses, since it provides common code needed
for handling a single child widget.

https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Bin.html

  • Konstruktordetails

    • Bin

      public Bin(PointerContainer pointer)
    • Bin

      public Bin()
      Creates a new `AdwBin`.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getChild

      public Widget getChild()
      Gets the child widget of @self.
      Gibt zurück:
      the child widget of @self
    • setChild

      public void setChild(@Nullable Widget child)
      Sets the child widget of @self.
      Parameter:
      child - the child widget
    • asAccessible

      public Accessible asAccessible()
      Implements interface Accessible. Call this to get access to interface functions.
      Setzt außer Kraft:
      asAccessible in Klasse Widget
      Gibt zurück:
      Accessible
    • asBuildable

      public Buildable asBuildable()
      Implements interface Buildable. Call this to get access to interface functions.
      Setzt außer Kraft:
      asBuildable in Klasse Widget
      Gibt zurück:
      Buildable
    • asConstraintTarget

      public ConstraintTarget asConstraintTarget()
      Implements interface ConstraintTarget. Call this to get access to interface functions.
      Setzt außer Kraft:
      asConstraintTarget in Klasse Widget
      Gibt zurück:
      ConstraintTarget
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()