Snapd.PlugRef

g GObject.Object GObject.Object Snapd.PlugRef Snapd.PlugRef GObject.Object->Snapd.PlugRef

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_plug ()

get_snap ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

plug

str

r/w/co

Name of plug

snap

str

r/w/co

Snap this plug is on

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Snapd.PlugRef(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Snapd.PlugRefClass

Snapd.PlugRef contains the state of Snap a interface plug_ref.

New in version 1.0.

get_plug()
Returns:

a name.

Return type:

str

Get the name of the plug.

New in version 1.48.

get_snap()
Returns:

a snap name.

Return type:

str

Get the snap this plug is on.

New in version 1.48.

Property Details

Snapd.PlugRef.props.plug
Name:

plug

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Name of plug

Snapd.PlugRef.props.snap
Name:

snap

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Snap this plug is on