• Wp 0.5 »
  • Interfaces »
  • Wp.SiLink
  • Wp.SiLink
    • Methods
    • Virtual Methods
    • Properties
    • Signals
    • Fields
    • Class Details
      • Wp.SiLink
        • Wp.SiLink.get_in_item()
        • Wp.SiLink.get_out_item()
        • Wp.SiLink.get_properties()
        • Wp.SiLink.get_registration_info()
        • Wp.SiLink.do_get_in_item()
        • Wp.SiLink.do_get_out_item()
        • Wp.SiLink.do_get_properties()
        • Wp.SiLink.do_get_registration_info()
    • Signal Details
      • Wp.SiLink.signals.link_properties_changed()
  • Wp 0.5 »
  • Interfaces »
  • Wp.SiLink
  • Wp.SiLink
    • Methods
    • Virtual Methods
    • Properties
    • Signals
    • Fields
    • Class Details
      • Wp.SiLink
        • Wp.SiLink.get_in_item()
        • Wp.SiLink.get_out_item()
        • Wp.SiLink.get_properties()
        • Wp.SiLink.get_registration_info()
        • Wp.SiLink.do_get_in_item()
        • Wp.SiLink.do_get_out_item()
        • Wp.SiLink.do_get_properties()
        • Wp.SiLink.do_get_registration_info()
    • Signal Details
      • Wp.SiLink.signals.link_properties_changed()

Wp.SiLink¶

g GObject.GInterface GObject.GInterface Wp.SiLink Wp.SiLink GObject.GInterface->Wp.SiLink

Implementations:

None

Methods¶

get_in_item ()

get_out_item ()

get_properties ()

get_registration_info ()

Virtual Methods¶

do_get_in_item ()

do_get_out_item ()

do_get_properties ()

do_get_registration_info ()

Properties¶

None

Signals¶

Name

Short Description

link-properties-changed

Fields¶

None

Class Details¶

class Wp.SiLink¶
Bases:

GObject.GInterface

Structure:

Wp.SiLinkInterface

An interface for session items that provide a PipeWire link.

get_in_item()¶
Returns:

the input item that is linked by this link

Return type:

Wp.SiLinkable

Gets the input item linked by the link.

get_out_item()¶
Returns:

the output item that is linked by this link

Return type:

Wp.SiLinkable

Gets the output item linked by the link.

get_properties()¶
Returns:

the properties of the link

Return type:

Wp.Properties or None

Gets the properties of the link.

get_registration_info()¶
Returns:

registration info for the link

Return type:

GLib.Variant

This should return information that is used for registering the link, as a GLib.Variant of type a{ss} that contains additional properties to be added to the list of global properties.

do_get_in_item() virtual¶
Returns:

the input item that is linked by this link

Return type:

Wp.SiLinkable

Gets the input item linked by the link.

do_get_out_item() virtual¶
Returns:

the output item that is linked by this link

Return type:

Wp.SiLinkable

Gets the output item linked by the link.

do_get_properties() virtual¶
Returns:

the properties of the link

Return type:

Wp.Properties or None

Gets the properties of the link.

do_get_registration_info() virtual¶
Returns:

registration info for the link

Return type:

GLib.Variant

This should return information that is used for registering the link, as a GLib.Variant of type a{ss} that contains additional properties to be added to the list of global properties.

Signal Details¶

Wp.SiLink.signals.link_properties_changed(si_link)¶
Signal Name:

link-properties-changed

Flags:

RUN_LAST

Parameters:

si_link (Wp.SiLink) – The object which received the signal