Adw.SqueezerPage¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
d/r/w/co |
|
||
d/r/w/en |
|
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Adw.SqueezerPage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An auxiliary class used by [class`Squeezer`].
Deprecated since version 1.4: See the migration guide
- get_child()¶
- Returns:
the child to which self belongs
- Return type:
Returns the squeezer child to which self belongs.
Deprecated since version 1.4: See the migration guide
- get_enabled()¶
- Returns:
whether self is enabled
- Return type:
Gets whether self is enabled.
Deprecated since version 1.4: See the migration guide
- set_enabled(enabled)¶
- Parameters:
enabled (
bool
) – whether self is enabled
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
Property Details¶
- Adw.SqueezerPage.props.child¶
- Name:
child
- Type:
- Default Value:
- Flags:
The the squeezer child to which the page belongs.
Deprecated since version 1.4: See the migration guide
- Adw.SqueezerPage.props.enabled¶
- Name:
enabled
- Type:
- Default Value:
- Flags:
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: See the migration guide