Adw.Layout

g Adw.Layout Adw.Layout GObject.GInterface GObject.GInterface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.Object GObject.Object GObject.Object->Adw.Layout Gtk.Buildable->Adw.Layout

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gtk.Buildable (1)

Structs:

GObject.ObjectClass (5)

class

new (content)

get_content ()

get_name ()

set_name (name)

Virtual Methods

Inherited:

GObject.Object (7), Gtk.Buildable (9)

Properties

Name

Type

Flags

Short Description

content

Gtk.Widget

r/w/co

name

str

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Adw.Layout(**kwargs)
Bases:

GObject.Object, Gtk.Buildable

Abstract:

No

Structure:

Adw.LayoutClass

An individual layout in [class`MultiLayoutView`].

New in version 1.6.

classmethod new(content)
Parameters:

content (Gtk.Widget) – the content widget to use

Returns:

a new AdwLayout

Return type:

Adw.Layout

Creates a new AdwLayout that contains content.

New in version 1.6.

get_content()
Returns:

The content

Return type:

Gtk.Widget

Gets the content widget.

New in version 1.6.

get_name()
Returns:

the name of the layout

Return type:

str or None

Gets the name of the layout.

New in version 1.6.

set_name(name)
Parameters:

name (str or None) – the layout name

Sets the name of the layout.

New in version 1.6.

Property Details

Adw.Layout.props.content
Name:

content

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The content widget.

New in version 1.6.

Adw.Layout.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The name of the layout.

New in version 1.6.