:right-sidebar: True LayoutSlot =================================================================== .. currentmodule:: gi.repository.Adw .. versionadded:: 1.6 .. class:: LayoutSlot(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` A child slot within :obj:`~gi.repository.Adw.Layout`\. While it contains a layout child, the :obj:`~gi.repository.Gtk.Widget.props.visible` property of the slot is updated to match that of the layout child. See :obj:`~gi.repository.Adw.MultiLayoutView`\. Constructors ------------ .. rst-class:: interim-class .. class:: LayoutSlot :no-index: .. classmethod:: new(id: str) -> ~gi.repository.Gtk.Widget Creates a new ``AdwLayoutSlot`` with its ID set to ``id``\. .. versionadded:: 1.6 :param id: the slot ID Methods ------- .. rst-class:: interim-class .. class:: LayoutSlot :no-index: .. method:: get_slot_id() -> str Gets the slot id of ``self``\. .. versionadded:: 1.6 Properties ---------- .. rst-class:: interim-class .. class:: LayoutSlot :no-index: .. attribute:: props.id :type: str The type of the None singleton. .. versionadded:: 1.6