Snapd.SlotRef

g GObject.Object GObject.Object Snapd.SlotRef Snapd.SlotRef GObject.Object->Snapd.SlotRef

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_slot ()

get_snap ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

slot

str

r/w/co

Name of slot

snap

str

r/w/co

Snap this slot is on

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Snapd.SlotRef(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Snapd.SlotRefClass

Snapd.SlotRef contains the state of Snap a interface slot_ref.

New in version 1.0.

get_slot()
Returns:

a name.

Return type:

str

Get the name of the slot.

New in version 1.48.

get_snap()
Returns:

a snap name.

Return type:

str

Get the snap this slot is on.

New in version 1.48.

Property Details

Snapd.SlotRef.props.slot
Name:

slot

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Name of slot

Snapd.SlotRef.props.snap
Name:

snap

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Snap this slot is on