Adw.SqueezerPage

g Adw.SqueezerPage Adw.SqueezerPage GObject.Object GObject.Object GObject.Object->Adw.SqueezerPage

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_child ()

get_enabled ()

set_enabled (enabled)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

child

Gtk.Widget

d/r/w/co

deprecated

enabled

bool

d/r/w/en

deprecated

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Adw.SqueezerPage(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Adw.SqueezerPageClass

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:

Gtk.Widget

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:

bool

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:

Gtk.Widget

Default Value:

None

Flags:

DEPRECATED, READABLE, WRITABLE, CONSTRUCT_ONLY

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:

bool

Default Value:

True

Flags:

DEPRECATED, READABLE, WRITABLE, EXPLICIT_NOTIFY

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