LeafletPage

Deprecated since version 1.4: See the migration guide

class LeafletPage(**properties: Any)

Superclasses: Object

An auxiliary class used by Leaflet.

Methods

class LeafletPage
get_child() Widget

Gets the leaflet child to which self belongs.

Deprecated since version 1.4:

See the migration guide

get_name() str | None

Gets the name of self.

Deprecated since version 1.4:

See the migration guide

get_navigatable() bool

Gets whether the child can be navigated to when folded.

Deprecated since version 1.4:

See the migration guide

set_name(name: str | None = None) None

Sets the name of the self.

Deprecated since version 1.4:

See the migration guide

Parameters:

name – the new value to set

set_navigatable(navigatable: bool) None

Sets whether self can be navigated to when folded.

If FALSE, the child will be ignored by get_adjacent_child, navigate, and swipe gestures.

This can be used used to prevent switching to widgets like separators.

Deprecated since version 1.4:

See the migration guide

Parameters:

navigatable – whether self can be navigated to when folded

Properties

class LeafletPage
props.child: Widget

The leaflet child to which the page belongs.

Deprecated since version 1.4:

See the migration guide

props.name: str

The name of the child page.

Deprecated since version 1.4:

See the migration guide

props.navigatable: bool

Whether the child can be navigated to when folded.

If FALSE, the child will be ignored by get_adjacent_child, navigate, and swipe gestures.

This can be used used to prevent switching to widgets like separators.

Deprecated since version 1.4:

See the migration guide