WpProxy

WpProxy

GObject
    ╰──WpProxy
        ╰──WpClient
        ╰──WpDevice
        ╰──WpEndpoint
        ╰──WpEndpointLink
        ╰──WpEndpointStream
        ╰──WpLink
        ╰──WpNode
        ╰──WpPort
        ╰──WpSession

Members

parent_instance (GObject) –
No description available

Class structure

WpProxyClass

Fields
parent_class (GObjectClass) –
No description available
pw_iface_type (const gchar *) –

the PipeWire type of the interface that is being proxied by this class (ex. PW_TYPE_INTERFACE_Node for WpNode)

pw_iface_version (guint32) –

the PipeWire version of the interface that is being proxied by this class


Wp.ProxyClass

Attributes
parent_class (GObject.ObjectClass) –
No description available
pw_iface_type (str) –

the PipeWire type of the interface that is being proxied by this class (ex. PW_TYPE_INTERFACE_Node for Wp.Node)

pw_iface_version (int) –

the PipeWire version of the interface that is being proxied by this class


Wp.ProxyClass

Attributes
parent_class (GObject.ObjectClass) –
No description available
pw_iface_type (String) –

the PipeWire type of the interface that is being proxied by this class (ex. PW_TYPE_INTERFACE_Node for Wp.Node)

pw_iface_version (Number) –

the PipeWire version of the interface that is being proxied by this class


WpProxy

GObject
    ╰──WpProxy
        ╰──WpClient
        ╰──WpDevice
        ╰──WpEndpoint
        ╰──WpEndpointLink
        ╰──WpEndpointStream
        ╰──WpLink
        ╰──WpNode
        ╰──WpPort
        ╰──WpSession

Members

parent_instance (GObject) –
No description available

WpProxy

GObject
    ╰──WpProxy
        ╰──WpClient
        ╰──WpDevice
        ╰──WpEndpoint
        ╰──WpEndpointLink
        ╰──WpEndpointStream
        ╰──WpLink
        ╰──WpNode
        ╰──WpPort
        ╰──WpSession

Members

parent_instance (GObject) –
No description available

Methods

wp_proxy_augment

wp_proxy_augment (WpProxy * self,
                  WpProxyFeatures wanted_features,
                  GCancellable * cancellable,
                  GAsyncReadyCallback callback,
                  gpointer user_data)

Parameters:

self
No description available
wanted_features
No description available
cancellable
No description available
callback
No description available
user_data
No description available

Wp.Proxy.augment

def Wp.Proxy.augment (self, wanted_features, cancellable, callback, *user_data):
    #python wrapper for 'wp_proxy_augment'

Parameters:

self ( Wp.Proxy ) –
No description available
wanted_features ( Wp.ProxyFeatures ) –
No description available
cancellable ( Gio.Cancellable ) –
No description available
callback ( Gio.AsyncReadyCallback ) –
No description available
user_data ( variadic ) –
No description available

Wp.Proxy.prototype.augment

function Wp.Proxy.prototype.augment(wanted_features: Wp.ProxyFeatures, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback, user_data: Object): {
    // javascript wrapper for 'wp_proxy_augment'
}

Parameters:

self ( Wp.Proxy ) –
No description available
wanted_features ( Wp.ProxyFeatures ) –
No description available
cancellable ( Gio.Cancellable ) –
No description available
callback ( Gio.AsyncReadyCallback ) –
No description available
user_data ( Object ) –
No description available

wp_proxy_augment_finish

gboolean
wp_proxy_augment_finish (WpProxy * self,
                         GAsyncResult * res,
                         GError ** error)

Parameters:

self
No description available
res
No description available
error
No description available
Returns
No description available

Wp.Proxy.augment_finish

@raises(GLib.GError)
def Wp.Proxy.augment_finish (self, res):
    #python wrapper for 'wp_proxy_augment_finish'

Parameters:

self ( Wp.Proxy ) –
No description available
res ( Gio.AsyncResult ) –
No description available
Returns ( bool ) –
No description available

Wp.Proxy.prototype.augment_finish

function Wp.Proxy.prototype.augment_finish(res: Gio.AsyncResult): {
    // javascript wrapper for 'wp_proxy_augment_finish'
}

Parameters:

self ( Wp.Proxy ) –
No description available
res ( Gio.AsyncResult ) –
No description available
Returns ( Number ) –
No description available

wp_proxy_enum_params

wp_proxy_enum_params (WpProxy * self,
                      const gchar * id,
                      WpSpaPod * filter,
                      GCancellable * cancellable,
                      GAsyncReadyCallback callback,
                      gpointer user_data)

Enumerate object parameters. This will asynchronously return the result, or an error, by calling the given callback. The result is going to be a WpIterator containing WpSpaPod objects, which can be retrieved with wp_proxy_enum_params_finish.

Parameters:

self

the proxy

id ( [nullable] ) –

the parameter id to enumerate or NULL for all parameters

filter ( [nullable] ) –

a param filter or NULL

cancellable ( [nullable] ) –

a cancellable for the async operation

callback ( [scope async] ) –

a callback to call with the result

user_data ( [closure] ) –

data to pass to callback


Wp.Proxy.enum_params

def Wp.Proxy.enum_params (self, id, filter, cancellable, callback, *user_data):
    #python wrapper for 'wp_proxy_enum_params'

Enumerate object parameters. This will asynchronously return the result, or an error, by calling the given callback. The result is going to be a Wp.Iterator containing Wp.SpaPod objects, which can be retrieved with Wp.Proxy.enum_params_finish.

Parameters:

self ( Wp.Proxy ) –

the proxy

id ( str ) –

the parameter id to enumerate or None for all parameters

filter ( Wp.SpaPod ) –

a param filter or None

cancellable ( Gio.Cancellable ) –

a cancellable for the async operation

callback ( Gio.AsyncReadyCallback ) –

a callback to call with the result

user_data ( variadic ) –

data to pass to callback


Wp.Proxy.prototype.enum_params

function Wp.Proxy.prototype.enum_params(id: String, filter: Wp.SpaPod, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback, user_data: Object): {
    // javascript wrapper for 'wp_proxy_enum_params'
}

Enumerate object parameters. This will asynchronously return the result, or an error, by calling the given callback. The result is going to be a Wp.Iterator containing Wp.SpaPod objects, which can be retrieved with Wp.Proxy.prototype.enum_params_finish.

Parameters:

self ( Wp.Proxy ) –

the proxy

id ( String ) –

the parameter id to enumerate or null for all parameters

filter ( Wp.SpaPod ) –

a param filter or null

cancellable ( Gio.Cancellable ) –

a cancellable for the async operation

callback ( Gio.AsyncReadyCallback ) –

a callback to call with the result

user_data ( Object ) –

data to pass to callback


wp_proxy_enum_params_finish

WpIterator *
wp_proxy_enum_params_finish (WpProxy * self,
                             GAsyncResult * res,
                             GError ** error)

Parameters:

self

the proxy

res

the async result

error ( [out] [optional] ) –

the reported error of the operation, if any

Returns ( [transfer: full] [nullable] ) –

an iterator to iterate over the collected params, or NULL if the operation resulted in error; the items in the iterator are WpSpaPod


Wp.Proxy.enum_params_finish

@raises(GLib.GError)
def Wp.Proxy.enum_params_finish (self, res):
    #python wrapper for 'wp_proxy_enum_params_finish'

Parameters:

self ( Wp.Proxy ) –

the proxy

res ( Gio.AsyncResult ) –

the async result

Returns ( Wp.Iterator ) –

an iterator to iterate over the collected params, or None if the operation resulted in error; the items in the iterator are Wp.SpaPod


Wp.Proxy.prototype.enum_params_finish

function Wp.Proxy.prototype.enum_params_finish(res: Gio.AsyncResult): {
    // javascript wrapper for 'wp_proxy_enum_params_finish'
}

Parameters:

self ( Wp.Proxy ) –

the proxy

res ( Gio.AsyncResult ) –

the async result

Returns ( Wp.Iterator ) –

an iterator to iterate over the collected params, or null if the operation resulted in error; the items in the iterator are Wp.SpaPod


wp_proxy_get_bound_id

guint32
wp_proxy_get_bound_id (WpProxy * self)

Returns the bound id, which is the id that this object has on the pipewire registry (a.k.a. the global id). The object must have the WP_PROXY_FEATURE_BOUND feature before this method can be called.

Parameters:

self

the proxy

Returns

the bound id of this object


Wp.Proxy.get_bound_id

def Wp.Proxy.get_bound_id (self):
    #python wrapper for 'wp_proxy_get_bound_id'

Returns the bound id, which is the id that this object has on the pipewire registry (a.k.a. the global id). The object must have the Wp.ProxyFeatures.BOUND feature before this method can be called.

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( int ) –

the bound id of this object


Wp.Proxy.prototype.get_bound_id

function Wp.Proxy.prototype.get_bound_id(): {
    // javascript wrapper for 'wp_proxy_get_bound_id'
}

Returns the bound id, which is the id that this object has on the pipewire registry (a.k.a. the global id). The object must have the Wp.ProxyFeatures.BOUND feature before this method can be called.

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Number ) –

the bound id of this object


wp_proxy_get_core

WpCore *
wp_proxy_get_core (WpProxy * self)

Parameters:

self

the proxy

Returns ( [transfer: full] ) –

the core that created this proxy


Wp.Proxy.get_core

def Wp.Proxy.get_core (self):
    #python wrapper for 'wp_proxy_get_core'

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Wp.Core ) –

the core that created this proxy


Wp.Proxy.prototype.get_core

function Wp.Proxy.prototype.get_core(): {
    // javascript wrapper for 'wp_proxy_get_core'
}

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Wp.Core ) –

the core that created this proxy


wp_proxy_get_features

WpProxyFeatures
wp_proxy_get_features (WpProxy * self)

Parameters:

self
No description available
Returns
No description available

Wp.Proxy.get_features

def Wp.Proxy.get_features (self):
    #python wrapper for 'wp_proxy_get_features'

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Wp.ProxyFeatures ) –
No description available

Wp.Proxy.prototype.get_features

function Wp.Proxy.prototype.get_features(): {
    // javascript wrapper for 'wp_proxy_get_features'
}

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Wp.ProxyFeatures ) –
No description available

wp_proxy_get_global_permissions

guint32
wp_proxy_get_global_permissions (WpProxy * self)

Parameters:

self
No description available
Returns
No description available

Wp.Proxy.get_global_permissions

def Wp.Proxy.get_global_permissions (self):
    #python wrapper for 'wp_proxy_get_global_permissions'

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( int ) –
No description available

Wp.Proxy.prototype.get_global_permissions

function Wp.Proxy.prototype.get_global_permissions(): {
    // javascript wrapper for 'wp_proxy_get_global_permissions'
}

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Number ) –
No description available

wp_proxy_get_global_properties

WpProperties *
wp_proxy_get_global_properties (WpProxy * self)

Parameters:

self
No description available
Returns ( [transfer: full] ) –

the global properties of the proxy


Wp.Proxy.get_global_properties

def Wp.Proxy.get_global_properties (self):
    #python wrapper for 'wp_proxy_get_global_properties'

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Wp.Properties ) –

the global properties of the proxy


Wp.Proxy.prototype.get_global_properties

function Wp.Proxy.prototype.get_global_properties(): {
    // javascript wrapper for 'wp_proxy_get_global_properties'
}

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Wp.Properties ) –

the global properties of the proxy


wp_proxy_get_info

gconstpointer
wp_proxy_get_info (WpProxy * self)

Requires WP_PROXY_FEATURE_INFO

Parameters:

self

the proxy

Returns

the pipewire info structure of this object (pw_node_info, pw_port_info, etc...)


Wp.Proxy.get_info

def Wp.Proxy.get_info (self):
    #python wrapper for 'wp_proxy_get_info'

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( object ) –

the pipewire info structure of this object (pw_node_info, pw_port_info, etc...)


Wp.Proxy.prototype.get_info

function Wp.Proxy.prototype.get_info(): {
    // javascript wrapper for 'wp_proxy_get_info'
}

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Object ) –

the pipewire info structure of this object (pw_node_info, pw_port_info, etc...)


wp_proxy_get_param_info

GVariant *
wp_proxy_get_param_info (WpProxy * self)

Returns the available parameters of this proxy. The return value is a variant of type a{ss}, where the key of each map entry is a spa param type id (the same ids that you can pass in wp_proxy_enum_params) and the value is a string that can contain the following letters, each of them representing a flag:

  • r: the param is readable (SPA_PARAM_INFO_READ)
  • w: the param is writable (SPA_PARAM_INFO_WRITE)
  • s: the param was updated (SPA_PARAM_INFO_SERIAL)

For params that are readable, you can query them with wp_proxy_enum_params

Params that are writable can be set with wp_proxy_set_param

Requires WP_PROXY_FEATURE_INFO

Parameters:

self

the proxy

Returns ( [transfer: full] [nullable] ) –

a variant of type a{ss} or NULL if the proxy does not support params at all


Wp.Proxy.get_param_info

def Wp.Proxy.get_param_info (self):
    #python wrapper for 'wp_proxy_get_param_info'

Returns the available parameters of this proxy. The return value is a variant of type a{ss}, where the key of each map entry is a spa param type id (the same ids that you can pass in Wp.Proxy.enum_params) and the value is a string that can contain the following letters, each of them representing a flag:

  • r: the param is readable (SPA_PARAM_INFO_READ)
  • w: the param is writable (SPA_PARAM_INFO_WRITE)
  • s: the param was updated (SPA_PARAM_INFO_SERIAL)

For params that are readable, you can query them with Wp.Proxy.enum_params

Params that are writable can be set with Wp.Proxy.set_param

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( GLib.Variant ) –

a variant of type a{ss} or None if the proxy does not support params at all


Wp.Proxy.prototype.get_param_info

function Wp.Proxy.prototype.get_param_info(): {
    // javascript wrapper for 'wp_proxy_get_param_info'
}

Returns the available parameters of this proxy. The return value is a variant of type a{ss}, where the key of each map entry is a spa param type id (the same ids that you can pass in Wp.Proxy.prototype.enum_params) and the value is a string that can contain the following letters, each of them representing a flag:

  • r: the param is readable (SPA_PARAM_INFO_READ)
  • w: the param is writable (SPA_PARAM_INFO_WRITE)
  • s: the param was updated (SPA_PARAM_INFO_SERIAL)

For params that are readable, you can query them with Wp.Proxy.prototype.enum_params

Params that are writable can be set with Wp.Proxy.prototype.set_param

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( GLib.Variant ) –

a variant of type a{ss} or null if the proxy does not support params at all


wp_proxy_get_prop

WpSpaPod *
wp_proxy_get_prop (WpProxy * self,
                   const gchar * prop_name)

Requires WP_PROXY_FEATURE_PROPS

Parameters:

self

the proxy

prop_name

the prop name

Returns ( [transfer: full] [nullable] ) –

the spa pod containing the value of this prop, or NULL if prop_name does not exist on this proxy


Wp.Proxy.get_prop

def Wp.Proxy.get_prop (self, prop_name):
    #python wrapper for 'wp_proxy_get_prop'

Requires Wp.ProxyFeatures.PROPS

Parameters:

self ( Wp.Proxy ) –

the proxy

prop_name ( str ) –

the prop name

Returns ( Wp.SpaPod ) –

the spa pod containing the value of this prop, or None if prop_name does not exist on this proxy


Wp.Proxy.prototype.get_prop

function Wp.Proxy.prototype.get_prop(prop_name: String): {
    // javascript wrapper for 'wp_proxy_get_prop'
}

Requires Wp.ProxyFeatures.PROPS

Parameters:

self ( Wp.Proxy ) –

the proxy

prop_name ( String ) –

the prop name

Returns ( Wp.SpaPod ) –

the spa pod containing the value of this prop, or null if prop_name does not exist on this proxy


wp_proxy_get_properties

WpProperties *
wp_proxy_get_properties (WpProxy * self)

Requires WP_PROXY_FEATURE_INFO

Parameters:

self

the proxy

Returns ( [transfer: full] ) –

the pipewire properties of this object; normally these are the properties that are part of the info structure


Wp.Proxy.get_properties

def Wp.Proxy.get_properties (self):
    #python wrapper for 'wp_proxy_get_properties'

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Wp.Properties ) –

the pipewire properties of this object; normally these are the properties that are part of the info structure


Wp.Proxy.prototype.get_properties

function Wp.Proxy.prototype.get_properties(): {
    // javascript wrapper for 'wp_proxy_get_properties'
}

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Wp.Properties ) –

the pipewire properties of this object; normally these are the properties that are part of the info structure


wp_proxy_get_property

const gchar *
wp_proxy_get_property (WpProxy * self,
                       const gchar * key)

Returns the value of a single pipewire property. This is the same as getting the whole properties structure with wp_proxy_get_properties and accessing a single property with wp_properties_get, but saves one call and having to clean up the WpProperties reference count afterwards.

The value is owned by the proxy, but it is guaranteed to stay alive until execution returns back to the event loop.

Requires WP_PROXY_FEATURE_INFO

Parameters:

self

the proxy

key

the property name

Returns ( [transfer: none] [nullable] ) –

the value of the pipewire property key or NULL if the property doesn't exist


Wp.Proxy.get_property

def Wp.Proxy.get_property (self, key):
    #python wrapper for 'wp_proxy_get_property'

Returns the value of a single pipewire property. This is the same as getting the whole properties structure with Wp.Proxy.get_properties and accessing a single property with Wp.Properties.get, but saves one call and having to clean up the Wp.Properties reference count afterwards.

The value is owned by the proxy, but it is guaranteed to stay alive until execution returns back to the event loop.

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

key ( str ) –

the property name

Returns ( str ) –

the value of the pipewire property key or None if the property doesn't exist


Wp.Proxy.prototype.get_property

function Wp.Proxy.prototype.get_property(key: String): {
    // javascript wrapper for 'wp_proxy_get_property'
}

Returns the value of a single pipewire property. This is the same as getting the whole properties structure with Wp.Proxy.prototype.get_properties and accessing a single property with Wp.Properties.prototype.get, but saves one call and having to clean up the Wp.Properties reference count afterwards.

The value is owned by the proxy, but it is guaranteed to stay alive until execution returns back to the event loop.

Requires Wp.ProxyFeatures.INFO

Parameters:

self ( Wp.Proxy ) –

the proxy

key ( String ) –

the property name

Returns ( String ) –

the value of the pipewire property key or null if the property doesn't exist


wp_proxy_get_pw_proxy

pw_proxy*
wp_proxy_get_pw_proxy (WpProxy * self)

Parameters:

self
No description available
Returns
No description available

Wp.Proxy.get_pw_proxy

def Wp.Proxy.get_pw_proxy (self):
    #python wrapper for 'wp_proxy_get_pw_proxy'

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( object ) –
No description available

Wp.Proxy.prototype.get_pw_proxy

function Wp.Proxy.prototype.get_pw_proxy(): {
    // javascript wrapper for 'wp_proxy_get_pw_proxy'
}

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Object ) –
No description available

wp_proxy_iterate_prop_info

WpIterator *
wp_proxy_iterate_prop_info (WpProxy * self)

Requires WP_PROXY_FEATURE_PROPS

Parameters:

self

the proxy

Returns ( [transfer: full] [nullable] ) –

an iterator to iterate over the SPA_PARAM_PropInfo params, or NULL if the object has no props; the items in the iterator are WpSpaPod


Wp.Proxy.iterate_prop_info

def Wp.Proxy.iterate_prop_info (self):
    #python wrapper for 'wp_proxy_iterate_prop_info'

Requires Wp.ProxyFeatures.PROPS

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Wp.Iterator ) –

an iterator to iterate over the SPA_PARAM_PropInfo params, or None if the object has no props; the items in the iterator are Wp.SpaPod


Wp.Proxy.prototype.iterate_prop_info

function Wp.Proxy.prototype.iterate_prop_info(): {
    // javascript wrapper for 'wp_proxy_iterate_prop_info'
}

Requires Wp.ProxyFeatures.PROPS

Parameters:

self ( Wp.Proxy ) –

the proxy

Returns ( Wp.Iterator ) –

an iterator to iterate over the SPA_PARAM_PropInfo params, or null if the object has no props; the items in the iterator are Wp.SpaPod


wp_proxy_request_destroy

wp_proxy_request_destroy (WpProxy * self)

Requests the PipeWire server to destroy the object represented by this proxy. If the server allows it, the object will be destroyed and the WpProxy::pw-proxy-destroyed signal will be emitted. If the server does not allow it, nothing will happen.

This is mostly useful for destroying WpLink and WpEndpointLink objects.

Parameters:

self

the proxy


Wp.Proxy.request_destroy

def Wp.Proxy.request_destroy (self):
    #python wrapper for 'wp_proxy_request_destroy'

Requests the PipeWire server to destroy the object represented by this proxy. If the server allows it, the object will be destroyed and the WpProxy::pw-proxy-destroyed signal will be emitted. If the server does not allow it, nothing will happen.

This is mostly useful for destroying Wp.Link and Wp.EndpointLink objects.

Parameters:

self ( Wp.Proxy ) –

the proxy


Wp.Proxy.prototype.request_destroy

function Wp.Proxy.prototype.request_destroy(): {
    // javascript wrapper for 'wp_proxy_request_destroy'
}

Requests the PipeWire server to destroy the object represented by this proxy. If the server allows it, the object will be destroyed and the WpProxy::pw-proxy-destroyed signal will be emitted. If the server does not allow it, nothing will happen.

This is mostly useful for destroying Wp.Link and Wp.EndpointLink objects.

Parameters:

self ( Wp.Proxy ) –

the proxy


wp_proxy_set_param

wp_proxy_set_param (WpProxy * self,
                    const gchar * id,
                    WpSpaPod * param)

Sets a parameter on the object.

Parameters:

self

the proxy

id

the parameter id to set

param

the parameter to set


Wp.Proxy.set_param

def Wp.Proxy.set_param (self, id, param):
    #python wrapper for 'wp_proxy_set_param'

Sets a parameter on the object.

Parameters:

self ( Wp.Proxy ) –

the proxy

id ( str ) –

the parameter id to set

param ( Wp.SpaPod ) –

the parameter to set


Wp.Proxy.prototype.set_param

function Wp.Proxy.prototype.set_param(id: String, param: Wp.SpaPod): {
    // javascript wrapper for 'wp_proxy_set_param'
}

Sets a parameter on the object.

Parameters:

self ( Wp.Proxy ) –

the proxy

id ( String ) –

the parameter id to set

param ( Wp.SpaPod ) –

the parameter to set


wp_proxy_set_prop

wp_proxy_set_prop (WpProxy * self,
                   const gchar * prop_name,
                   WpSpaPod * value)

Sets a single property in the SPA_PARAM_Props param of this object.

Parameters:

self

the proxy

prop_name

the prop name

value ( [transfer: full] ) –

the new value for this prop, as a spa pod


Wp.Proxy.set_prop

def Wp.Proxy.set_prop (self, prop_name, value):
    #python wrapper for 'wp_proxy_set_prop'

Sets a single property in the SPA_PARAM_Props param of this object.

Parameters:

self ( Wp.Proxy ) –

the proxy

prop_name ( str ) –

the prop name

value ( Wp.SpaPod ) –

the new value for this prop, as a spa pod


Wp.Proxy.prototype.set_prop

function Wp.Proxy.prototype.set_prop(prop_name: String, value: Wp.SpaPod): {
    // javascript wrapper for 'wp_proxy_set_prop'
}

Sets a single property in the SPA_PARAM_Props param of this object.

Parameters:

self ( Wp.Proxy ) –

the proxy

prop_name ( String ) –

the prop name

value ( Wp.SpaPod ) –

the new value for this prop, as a spa pod


Signals

bound

bound_callback (WpProxy * self,
                guint object,
                gpointer user_data)

Parameters:

self
No description available
object
No description available
user_data
No description available

Flags: Run First


bound

def bound_callback (self, object, *user_data):
    #python callback for the 'bound' signal

Parameters:

self ( Wp.Proxy ) –
No description available
object ( int ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run First


bound

function bound_callback(self: Wp.Proxy, object: Number, user_data: Object): {
    // javascript callback for the 'bound' signal
}

Parameters:

self ( Wp.Proxy ) –
No description available
object ( Number ) –
No description available
user_data ( Object ) –
No description available

Flags: Run First


prop-changed

prop_changed_callback (WpProxy * self,
                       gchar * object,
                       gpointer user_data)

Parameters:

self
No description available
object
No description available
user_data
No description available

Flags: Run Last


prop-changed

def prop_changed_callback (self, object, *user_data):
    #python callback for the 'prop-changed' signal

Parameters:

self ( Wp.Proxy ) –
No description available
object ( str ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run Last


prop-changed

function prop_changed_callback(self: Wp.Proxy, object: String, user_data: Object): {
    // javascript callback for the 'prop-changed' signal
}

Parameters:

self ( Wp.Proxy ) –
No description available
object ( String ) –
No description available
user_data ( Object ) –
No description available

Flags: Run Last


pw-proxy-created

pw_proxy_created_callback (WpProxy * self,
                           gpointer object,
                           gpointer user_data)

Parameters:

self
No description available
object
No description available
user_data
No description available

Flags: Run First


pw-proxy-created

def pw_proxy_created_callback (self, object, *user_data):
    #python callback for the 'pw-proxy-created' signal

Parameters:

self ( Wp.Proxy ) –
No description available
object ( object ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run First


pw-proxy-created

function pw_proxy_created_callback(self: Wp.Proxy, object: Object, user_data: Object): {
    // javascript callback for the 'pw-proxy-created' signal
}

Parameters:

self ( Wp.Proxy ) –
No description available
object ( Object ) –
No description available
user_data ( Object ) –
No description available

Flags: Run First


pw-proxy-destroyed

pw_proxy_destroyed_callback (WpProxy * self,
                             gpointer user_data)

Parameters:

self
No description available
user_data
No description available

Flags: Run First


pw-proxy-destroyed

def pw_proxy_destroyed_callback (self, *user_data):
    #python callback for the 'pw-proxy-destroyed' signal

Parameters:

self ( Wp.Proxy ) –
No description available
user_data ( variadic ) –
No description available

Flags: Run First


pw-proxy-destroyed

function pw_proxy_destroyed_callback(self: Wp.Proxy, user_data: Object): {
    // javascript callback for the 'pw-proxy-destroyed' signal
}

Parameters:

self ( Wp.Proxy ) –
No description available
user_data ( Object ) –
No description available

Flags: Run First


Properties

bound-id

“bound-id” guint

Flags : Read


bound_id

“self.props.bound_id” int

Flags : Read


bound-id

“bound-id” Number

Flags : Read


core

“core” WpCore *

Flags : Read / Write / Construct Only


core

“self.props.core” Wp.Core

Flags : Read / Write / Construct Only


core

“core” Wp.Core

Flags : Read / Write / Construct Only


features

“features” WpProxyFeatures *

Flags : Read


features

“self.props.features” Wp.ProxyFeatures

Flags : Read


features

“features” Wp.ProxyFeatures

Flags : Read


global

“global” object*

Flags : Read / Write / Construct Only


global-permissions

“global-permissions” guint

Flags : Read


global_permissions

“self.props.global_permissions” int

Flags : Read


global-permissions

“global-permissions” Number

Flags : Read


global-properties

“global-properties” WpProperties *

Flags : Read


global_properties

“self.props.global_properties” Wp.Properties

Flags : Read


global-properties

“global-properties” Wp.Properties

Flags : Read


info

“info” gpointer

Flags : Read


info

“self.props.info” object

Flags : Read


info

“info” Object

Flags : Read


param-info

“param-info” GVariant *

Flags : Read


param_info

“self.props.param_info” GLib.Variant

Flags : Read


param-info

“param-info” GLib.Variant

Flags : Read


properties

“properties” WpProperties *

Flags : Read


properties

“self.props.properties” Wp.Properties

Flags : Read


properties

“properties” Wp.Properties

Flags : Read


pw-proxy

“pw-proxy” gpointer

Flags : Read / Write / Construct Only


pw_proxy

“self.props.pw_proxy” object

Flags : Read / Write / Construct Only


pw-proxy

“pw-proxy” Object

Flags : Read / Write / Construct Only


Virtual Methods

augment

augment (WpProxy * self,
         WpProxyFeatures features)

Parameters:

self
No description available
features
No description available

do_augment

def do_augment (self, features):
    #python implementation of the 'augment' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
features ( Wp.ProxyFeatures ) –
No description available

vfunc_augment

function vfunc_augment(self: Wp.Proxy, features: Wp.ProxyFeatures): {
    // javascript implementation of the 'augment' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
features ( Wp.ProxyFeatures ) –
No description available

bound

bound (WpProxy * self,
       guint32 id)

Parameters:

self
No description available
id
No description available

do_bound

def do_bound (self, id):
    #python implementation of the 'bound' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
id ( int ) –
No description available

vfunc_bound

function vfunc_bound(self: Wp.Proxy, id: Number): {
    // javascript implementation of the 'bound' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
id ( Number ) –
No description available

enum_params

gint
enum_params (WpProxy * self,
             guint32 id,
             guint32 start,
             guint32 num,
             WpSpaPod * filter)

Parameters:

self
No description available
id
No description available
start
No description available
num
No description available
filter
No description available
Returns
No description available

do_enum_params

def do_enum_params (self, id, start, num, filter):
    #python implementation of the 'enum_params' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
id ( int ) –
No description available
start ( int ) –
No description available
num ( int ) –
No description available
filter ( Wp.SpaPod ) –
No description available
Returns ( int ) –
No description available

vfunc_enum_params

function vfunc_enum_params(self: Wp.Proxy, id: Number, start: Number, num: Number, filter: Wp.SpaPod): {
    // javascript implementation of the 'enum_params' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
id ( Number ) –
No description available
start ( Number ) –
No description available
num ( Number ) –
No description available
filter ( Wp.SpaPod ) –
No description available
Returns ( Number ) –
No description available

get_info

gconstpointer
get_info (WpProxy * self)

Parameters:

self
No description available
Returns
No description available

do_get_info

def do_get_info (self):
    #python implementation of the 'get_info' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( object ) –
No description available

vfunc_get_info

function vfunc_get_info(self: Wp.Proxy): {
    // javascript implementation of the 'get_info' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Object ) –
No description available

get_param_info

spa_param_info*
get_param_info (WpProxy * self,
                guint * n_params)

Parameters:

self
No description available
n_params
No description available
Returns
No description available

do_get_param_info

def do_get_param_info (self, n_params):
    #python implementation of the 'get_param_info' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
n_params ( int ) –
No description available
Returns ( object ) –
No description available

vfunc_get_param_info

function vfunc_get_param_info(self: Wp.Proxy, n_params: Number): {
    // javascript implementation of the 'get_param_info' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
n_params ( Number ) –
No description available
Returns ( Object ) –
No description available

get_properties

WpProperties *
get_properties (WpProxy * self)

Parameters:

self
No description available
Returns
No description available

do_get_properties

def do_get_properties (self):
    #python implementation of the 'get_properties' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Wp.Properties ) –
No description available

vfunc_get_properties

function vfunc_get_properties(self: Wp.Proxy): {
    // javascript implementation of the 'get_properties' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
Returns ( Wp.Properties ) –
No description available

prop_changed

prop_changed (WpProxy * self,
              const gchar * prop_name)

Parameters:

self
No description available
prop_name
No description available

do_prop_changed

def do_prop_changed (self, prop_name):
    #python implementation of the 'prop_changed' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
prop_name ( str ) –
No description available

vfunc_prop_changed

function vfunc_prop_changed(self: Wp.Proxy, prop_name: String): {
    // javascript implementation of the 'prop_changed' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
prop_name ( String ) –
No description available

pw_proxy_created

pw_proxy_created (WpProxy * self,
                  pw_proxy* proxy)

Parameters:

self
No description available
proxy
No description available

do_pw_proxy_created

def do_pw_proxy_created (self, proxy):
    #python implementation of the 'pw_proxy_created' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
proxy ( object ) –
No description available

vfunc_pw_proxy_created

function vfunc_pw_proxy_created(self: Wp.Proxy, proxy: Object): {
    // javascript implementation of the 'pw_proxy_created' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
proxy ( Object ) –
No description available

pw_proxy_destroyed

pw_proxy_destroyed (WpProxy * self)

Parameters:

self
No description available

do_pw_proxy_destroyed

def do_pw_proxy_destroyed (self):
    #python implementation of the 'pw_proxy_destroyed' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available

vfunc_pw_proxy_destroyed

function vfunc_pw_proxy_destroyed(self: Wp.Proxy): {
    // javascript implementation of the 'pw_proxy_destroyed' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available

set_param

gint
set_param (WpProxy * self,
           guint32 id,
           guint32 flags,
           WpSpaPod * param)

Parameters:

self
No description available
id
No description available
flags
No description available
param
No description available
Returns
No description available

do_set_param

def do_set_param (self, id, flags, param):
    #python implementation of the 'set_param' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
id ( int ) –
No description available
flags ( int ) –
No description available
param ( Wp.SpaPod ) –
No description available
Returns ( int ) –
No description available

vfunc_set_param

function vfunc_set_param(self: Wp.Proxy, id: Number, flags: Number, param: Wp.SpaPod): {
    // javascript implementation of the 'set_param' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
id ( Number ) –
No description available
flags ( Number ) –
No description available
param ( Wp.SpaPod ) –
No description available
Returns ( Number ) –
No description available

subscribe_params

gint
subscribe_params (WpProxy * self,
                  guint32 * ids,
                  guint32 n_ids)

Parameters:

self
No description available
ids
No description available
n_ids
No description available
Returns
No description available

do_subscribe_params

def do_subscribe_params (self, ids, n_ids):
    #python implementation of the 'subscribe_params' virtual method

Parameters:

self ( Wp.Proxy ) –
No description available
ids ( int ) –
No description available
n_ids ( int ) –
No description available
Returns ( int ) –
No description available

vfunc_subscribe_params

function vfunc_subscribe_params(self: Wp.Proxy, ids: Number, n_ids: Number): {
    // javascript implementation of the 'subscribe_params' virtual method
}

Parameters:

self ( Wp.Proxy ) –
No description available
ids ( Number ) –
No description available
n_ids ( Number ) –
No description available
Returns ( Number ) –
No description available

Enumerations

WpProxyFeatures

Flags that specify functionality that is available on this class. Use wp_proxy_augment to enable more features and wp_proxy_get_features to find out which features are already enabled.

Subclasses may also specify additional features that can be ORed with these ones and they can also be enabled with wp_proxy_augment.

Members

WP_PROXY_FEATURE_PW_PROXY (1) –
No description available
WP_PROXY_FEATURE_INFO (2) –
No description available
WP_PROXY_FEATURE_BOUND (4) –
No description available
WP_PROXY_FEATURE_PROPS (8) –
No description available

Wp.ProxyFeatures

Flags that specify functionality that is available on this class. Use Wp.Proxy.augment to enable more features and Wp.Proxy.get_features to find out which features are already enabled.

Subclasses may also specify additional features that can be ORed with these ones and they can also be enabled with Wp.Proxy.augment.

Members

Wp.ProxyFeatures.PW_PROXY (1) –
No description available
Wp.ProxyFeatures.INFO (2) –
No description available
Wp.ProxyFeatures.BOUND (4) –
No description available
Wp.ProxyFeatures.PROPS (8) –
No description available

Wp.ProxyFeatures

Flags that specify functionality that is available on this class. Use Wp.Proxy.prototype.augment to enable more features and Wp.Proxy.prototype.get_features to find out which features are already enabled.

Subclasses may also specify additional features that can be ORed with these ones and they can also be enabled with Wp.Proxy.prototype.augment.

Members

Wp.ProxyFeatures.PW_PROXY (1) –
No description available
Wp.ProxyFeatures.INFO (2) –
No description available
Wp.ProxyFeatures.BOUND (4) –
No description available
Wp.ProxyFeatures.PROPS (8) –
No description available

Constants

WP_PROXY_FEATURES_STANDARD

#define WP_PROXY_FEATURES_STANDARD \
    (WP_PROXY_FEATURE_PW_PROXY | WP_PROXY_FEATURE_INFO | WP_PROXY_FEATURE_BOUND)

A constant set of features that contains the standard features that are available in the WpProxy class. The standard features are usually all enabled at once, even if not requested explicitly. It is a good practice, though, to enable only the features that you actually need. This leaves room for optimizations in the WpProxy class.


Wp.PROXY_FEATURES_STANDARD

A constant set of features that contains the standard features that are available in the Wp.Proxy class. The standard features are usually all enabled at once, even if not requested explicitly. It is a good practice, though, to enable only the features that you actually need. This leaves room for optimizations in the Wp.Proxy class.


Wp.PROXY_FEATURES_STANDARD

A constant set of features that contains the standard features that are available in the Wp.Proxy class. The standard features are usually all enabled at once, even if not requested explicitly. It is a good practice, though, to enable only the features that you actually need. This leaves room for optimizations in the Wp.Proxy class.


WP_TYPE_PROXY

#define WP_TYPE_PROXY (wp_proxy_get_type ())

The WpProxy GType


The results of the search are