LayoutSlot#

Added in version 1.6.

class LayoutSlot(**properties: Any)#

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget

A child slot within Layout.

While it contains a layout child, the visible property of the slot is updated to match that of the layout child.

See MultiLayoutView.

Constructors#

class LayoutSlot
classmethod new(id: str) Widget#

Creates a new AdwLayoutSlot with its ID set to id.

Added in version 1.6.

Parameters:

id – the slot ID

Methods#

class LayoutSlot
get_slot_id() str#

Gets the slot id of self.

Added in version 1.6.

Properties#

class LayoutSlot
props.id: str#

The type of the None singleton.

Added in version 1.6.