: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` :Constructors: :: SqueezerPage(**properties) 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 the squeezer child to which the page belongs. .. deprecated:: 1.4 See `the migration guide `_ .. attribute:: props.enabled :type: bool Whether the child 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 `_