Adw.LayoutSlot

g Adw.LayoutSlot Adw.LayoutSlot GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Widget->Adw.LayoutSlot

Subclasses:

None

Methods

Inherited:

Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), Gtk.Buildable (1)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (id)

get_slot_id ()

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)

Properties

Inherited:

Gtk.Widget (35), Gtk.Accessible (1)

Name

Type

Flags

Short Description

id

str

r/w/co

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Class Details

class Adw.LayoutSlot(**kwargs)
Bases:

Gtk.Widget

Abstract:

No

Structure:

Adw.LayoutSlotClass

A child slot within [class`Layout`].

While it contains a layout child, the [property`Gtk`.Widget:visible] property of the slot is updated to match that of the layout child.

See [class`MultiLayoutView`].

New in version 1.6.

classmethod new(id)
Parameters:

id (str) – the slot ID

Returns:

a new AdwLayoutSlot

Return type:

Gtk.Widget

Creates a new AdwLayoutSlot with its ID set to id.

New in version 1.6.

get_slot_id()
Returns:

the slot ID

Return type:

str

Gets the slot id of self.

New in version 1.6.

Property Details

Adw.LayoutSlot.props.id
Name:

id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The slot ID.

See [method`MultiLayoutView`.set_child].

New in version 1.6.