: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` An auxiliary class used by :obj:`~gi.repository.Adw.Leaflet`\. 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 type of the None singleton. .. deprecated:: 1.4 See `the migration guide `__ .. attribute:: props.name :type: str The type of the None singleton. .. deprecated:: 1.4 See `the migration guide `__ .. attribute:: props.navigatable :type: bool The type of the None singleton. .. deprecated:: 1.4 See `the migration guide `__