:right-sidebar: True LeafletPage =================================================================== .. currentmodule:: gi.repository.Adw .. deprecated:: 1.4 See `the migration guide `_ .. class:: LeafletPage(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` :Constructors: :: LeafletPage(**properties) Methods ------- .. rst-class:: interim-class .. class:: LeafletPage :no-index: .. method:: get_child() -> ~gi.repository.Gtk.Widget Gets the leaflet child to which ``self`` belongs. .. deprecated:: 1.4 See `the migration guide `_ .. method:: get_name() -> str | None Gets the name of ``self``. .. deprecated:: 1.4 See `the migration guide `_ .. method:: get_navigatable() -> bool Gets whether the child can be navigated to when folded. .. deprecated:: 1.4 See `the migration guide `_ .. method:: set_name(name: str | None = None) -> None Sets the name of the ``self``. .. deprecated:: 1.4 See `the migration guide `_ :param name: the new value to set .. method:: set_navigatable(navigatable: bool) -> None Sets whether ``self`` can be navigated to when folded. If ``FALSE``, the child will be ignored by :obj:`~gi.repository.Leaflet.get_adjacent_child`, :obj:`~gi.repository.Leaflet.navigate`, and swipe gestures. This can be used used to prevent switching to widgets like separators. .. deprecated:: 1.4 See `the migration guide `_ :param navigatable: whether ``self`` can be navigated to when folded Properties ---------- .. rst-class:: interim-class .. class:: LeafletPage :no-index: .. attribute:: props.child :type: ~gi.repository.Gtk.Widget The leaflet child to which the page belongs. .. deprecated:: 1.4 See `the migration guide `_ .. attribute:: props.name :type: str The name of the child page. .. deprecated:: 1.4 See `the migration guide `_ .. attribute:: props.navigatable :type: bool Whether the child can be navigated to when folded. If ``FALSE``, the child will be ignored by :obj:`~gi.repository.Leaflet.get_adjacent_child`, :obj:`~gi.repository.Leaflet.navigate`, and swipe gestures. This can be used used to prevent switching to widgets like separators. .. deprecated:: 1.4 See `the migration guide `_