:right-sidebar: True SqueezerPage =================================================================== .. currentmodule:: gi.repository.Adw .. deprecated:: 1.4 See `the migration guide `__ .. class:: SqueezerPage(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` An auxiliary class used by :obj:`~gi.repository.Adw.Squeezer`\. Methods ------- .. rst-class:: interim-class .. class:: SqueezerPage :no-index: .. method:: get_child() -> ~gi.repository.Gtk.Widget Returns the squeezer child to which ``self`` belongs. .. deprecated:: 1.4 See `the migration guide `__ .. method:: get_enabled() -> bool Gets whether ``self`` is enabled. .. deprecated:: 1.4 See `the migration guide `__ .. method:: set_enabled(enabled: bool) -> None Sets whether ``self`` is enabled. If a child is disabled, it will be ignored when looking for the child fitting the available size best. This allows to programmatically and prematurely hide a child even if it fits in the available space. This can be used e.g. to ensure a certain child is hidden below a certain window width, or any other constraint you find suitable. .. deprecated:: 1.4 See `the migration guide `__ :param enabled: whether ``self`` is enabled Properties ---------- .. rst-class:: interim-class .. class:: SqueezerPage :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.enabled :type: bool The type of the None singleton. .. deprecated:: 1.4 See `the migration guide `__