• Snapd 2 »
  • Classes »
  • Snapd.Link
  • Snapd.Link
    • Methods
    • Virtual Methods
    • Properties
    • Signals
    • Fields
    • Class Details
      • Snapd.Link
        • Snapd.Link.get_url_type()
        • Snapd.Link.get_urls()
    • Property Details
      • Snapd.Link.props.type
      • Snapd.Link.props.urls
  • Snapd 2 »
  • Classes »
  • Snapd.Link
  • Snapd.Link
    • Methods
    • Virtual Methods
    • Properties
    • Signals
    • Fields
    • Class Details
      • Snapd.Link
        • Snapd.Link.get_url_type()
        • Snapd.Link.get_urls()
    • Property Details
      • Snapd.Link.props.type
      • Snapd.Link.props.urls

Snapd.Link¶

g GObject.Object GObject.Object Snapd.Link Snapd.Link GObject.Object->Snapd.Link

Subclasses:

None

Methods¶

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_url_type ()

get_urls ()

Virtual Methods¶

Inherited:

GObject.Object (7)

Properties¶

Name

Type

Flags

Short Description

type

str

r/w/co

Type of this link

urls

[str]

r/w/co

URLs available for this type of link

Signals¶

Inherited:

GObject.Object (1)

Fields¶

Inherited:

GObject.Object (1)

Class Details¶

class Snapd.Link(**kwargs)¶
Bases:

GObject.Object

Abstract:

No

Structure:

Snapd.LinkClass

Snapd.Link contains link information.

New in version 1.69.

get_url_type()¶
Return type:

str

get_urls()¶
Returns:

the URLs

Return type:

[str]

Get the list of URL for this link, e.g. [ “mailto:developer`example`.com”, “discord.gg/example” ]

New in version 1.69.

Property Details¶

Snapd.Link.props.type¶
Name:

type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Type of this link

Snapd.Link.props.urls¶
Name:

urls

Type:

[str]

Default Value:

[]

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

URLs available for this type of link