Layout#

Added in version 1.6.

class Layout(**properties: Any)#

Superclasses: Object

Implemented Interfaces: Buildable

An individual layout in MultiLayoutView.

Constructors#

class Layout
classmethod new(content: Widget) Layout#

Creates a new AdwLayout that contains content.

Added in version 1.6.

Parameters:

content – the content widget to use

Methods#

class Layout
get_content() Widget#

Gets the content widget.

Added in version 1.6.

get_name() str | None#

Gets the name of the layout.

Added in version 1.6.

set_name(name: str | None = None) None#

Sets the name of the layout.

Added in version 1.6.

Parameters:

name – the layout name

Properties#

class Layout
props.content: Widget#

The type of the None singleton.

Added in version 1.6.

props.name: str#

The type of the None singleton.

Added in version 1.6.