PapersDocument.Layer

g GObject.Object GObject.Object PapersDocument.Layer PapersDocument.Layer GObject.Object->PapersDocument.Layer

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (rb_group)

get_children ()

get_rb_group ()

set_children (children)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

children

Gio.ListModel

r/w

The children of the layer

enabled

bool

r/w

Whether the layer is enabled

title

str

r/w

Name of the layer

title-only

bool

r/w

Whether the layer is title only

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base_instance

GObject.Object

r

Class Details

class PapersDocument.Layer(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

PapersDocument.LayerClass

classmethod new(rb_group)
Parameters:

rb_group (int) –

Return type:

PapersDocument.Layer

get_children()
Returns:

The children of the layer

Return type:

Gio.ListModel or None

get_rb_group()
Return type:

int

set_children(children)
Parameters:

children (Gio.ListModel) – The children of the layer

Sets the ‘children’ property of the layer.

Property Details

PapersDocument.Layer.props.children
Name:

children

Type:

Gio.ListModel

Default Value:

None

Flags:

READABLE, WRITABLE

The children of the layer

PapersDocument.Layer.props.enabled
Name:

enabled

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether the layer is enabled

PapersDocument.Layer.props.title
Name:

title

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Name of the layer

PapersDocument.Layer.props.title_only
Name:

title-only

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether the layer is title only