SqueezerPage
Deprecated since version 1.4: See the migration guide
Superclasses: Object
An auxiliary class used by Squeezer
.
Methods
- class SqueezerPage
- get_child() Widget
Returns the squeezer child to which
self
belongs.Deprecated since version 1.4:
- 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 since version 1.4:
- Parameters:
enabled – whether
self
is enabled
Properties
- class SqueezerPage
- props.child: Widget
The the squeezer child to which the page belongs.
Deprecated since version 1.4:
- props.enabled: 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 since version 1.4: