Layout
-
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
.
- Parameters:
content – the content widget to use
Methods
-
class Layout
-
get_content() → Widget
Gets the content widget.
-
get_name() → str | None
Gets the name of the layout.
-
set_name(name: str | None = None) → None
Sets the name of the layout.
- Parameters:
name – the layout name
Properties
-
class Layout
-
props.content: Widget
The type of the None singleton.
-
props.name: str
The type of the None singleton.