Bin#

class Bin(**properties: Any)#

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget

A widget with one child.

https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1-latest/bin.png

The AdwBin widget has only one child, set with the child property.

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

Constructors#

class Bin
classmethod new() Widget#

Creates a new AdwBin.

Methods#

class Bin
get_child() Widget | None#

Gets the child widget of self.

set_child(child: Widget | None = None) None#

Sets the child widget of self.

Parameters:

child – the child widget

Properties#

class Bin
props.child: Widget#

The type of the None singleton.

Fields#

class Bin
parent_instance#