SqueezerPage#

Deprecated since version 1.4: See the migration guide

class SqueezerPage(**properties: Any)#

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: See the migration guide

get_enabled() bool#

Gets whether self is enabled.

Deprecated since version 1.4: See the migration guide

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: See the migration guide

Parameters:

enabled – whether self is enabled

Properties#

class SqueezerPage
props.child: Widget#

The type of the None singleton.

Deprecated since version 1.4: See the migration guide

props.enabled: bool#

The type of the None singleton.

Deprecated since version 1.4: See the migration guide