WpProxy
WpProxy
GObject ╰──WpProxy ╰──WpClient ╰──WpDevice ╰──WpEndpoint ╰──WpEndpointLink ╰──WpEndpointStream ╰──WpLink ╰──WpNode ╰──WpPort ╰──WpSession
Members
parent_instance
(GObject)
–
Class structure
WpProxyClass
Fields
parent_class
(GObjectClass)
–
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)
–
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)
–
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)
–
WpProxy
GObject ╰──WpProxy ╰──WpClient ╰──WpDevice ╰──WpEndpoint ╰──WpEndpointLink ╰──WpEndpointStream ╰──WpLink ╰──WpNode ╰──WpPort ╰──WpSession
Members
parent_instance
(GObject)
–
Methods
wp_proxy_augment
wp_proxy_augment (WpProxy * self, WpProxyFeatures wanted_features, GCancellable * cancellable, GAsyncReadyCallback callback, gpointer user_data)
Parameters:
self
–
wanted_features
–
cancellable
–
callback
–
user_data
–
Wp.Proxy.augment
def Wp.Proxy.augment (self, wanted_features, cancellable, callback, *user_data):
#python wrapper for 'wp_proxy_augment'
Parameters:
self
(
Wp.Proxy
)
–
wanted_features
(
Wp.ProxyFeatures
)
–
cancellable
(
Gio.Cancellable
)
–
callback
(
Gio.AsyncReadyCallback
)
–
user_data
(
variadic
)
–
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
)
–
wanted_features
(
Wp.ProxyFeatures
)
–
cancellable
(
Gio.Cancellable
)
–
callback
(
Gio.AsyncReadyCallback
)
–
user_data
(
Object
)
–
wp_proxy_augment_finish
gboolean wp_proxy_augment_finish (WpProxy * self, GAsyncResult * res, GError ** error)
Parameters:
self
–
res
–
error
–
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
)
–
res
(
Gio.AsyncResult
)
–
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
)
–
res
(
Gio.AsyncResult
)
–
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
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
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
Wp.Proxy.enum_params_finish
@raises(GLib.GError)
def Wp.Proxy.enum_params_finish (self, res):
#python wrapper for 'wp_proxy_enum_params_finish'
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'
}
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
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
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
the bound id of this object
wp_proxy_get_core
WpCore * wp_proxy_get_core (WpProxy * self)
Parameters:
self
–
the proxy
the core that created this proxy
wp_proxy_get_features
WpProxyFeatures wp_proxy_get_features (WpProxy * self)
Parameters:
self
–
Wp.Proxy.get_features
def Wp.Proxy.get_features (self):
#python wrapper for 'wp_proxy_get_features'
Parameters:
self
(
Wp.Proxy
)
–
Wp.Proxy.prototype.get_features
function Wp.Proxy.prototype.get_features(): {
// javascript wrapper for 'wp_proxy_get_features'
}
Parameters:
self
(
Wp.Proxy
)
–
wp_proxy_get_global_permissions
guint32 wp_proxy_get_global_permissions (WpProxy * self)
Parameters:
self
–
wp_proxy_get_global_properties
WpProperties * wp_proxy_get_global_properties (WpProxy * self)
Parameters:
self
–
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
)
–
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
)
–
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
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
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
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
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
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
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
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
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
wp_proxy_get_properties
WpProperties * wp_proxy_get_properties (WpProxy * self)
Requires WP_PROXY_FEATURE_INFO
Parameters:
self
–
the proxy
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
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
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
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
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
wp_proxy_get_pw_proxy
pw_proxy* wp_proxy_get_pw_proxy (WpProxy * self)
Parameters:
self
–
wp_proxy_iterate_prop_info
WpIterator * wp_proxy_iterate_prop_info (WpProxy * self)
Requires WP_PROXY_FEATURE_PROPS
Parameters:
self
–
the proxy
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
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
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
–
object
–
user_data
–
Flags: Run First
prop-changed
prop_changed_callback (WpProxy * self, gchar * object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
Flags: Run Last
prop-changed
def prop_changed_callback (self, object, *user_data):
#python callback for the 'prop-changed' signal
Parameters:
self
(
Wp.Proxy
)
–
object
(
str
)
–
user_data
(
variadic
)
–
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
)
–
object
(
String
)
–
user_data
(
Object
)
–
Flags: Run Last
pw-proxy-created
pw_proxy_created_callback (WpProxy * self, gpointer object, gpointer user_data)
Parameters:
self
–
object
–
user_data
–
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
)
–
object
(
object
)
–
user_data
(
variadic
)
–
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
)
–
object
(
Object
)
–
user_data
(
Object
)
–
Flags: Run First
pw-proxy-destroyed
pw_proxy_destroyed_callback (WpProxy * self, gpointer user_data)
Parameters:
self
–
user_data
–
Flags: Run First
Properties
global
“global” object*
Flags : Read / Write / Construct Only
Virtual Methods
augment
augment (WpProxy * self, WpProxyFeatures features)
Parameters:
self
–
features
–
do_augment
def do_augment (self, features):
#python implementation of the 'augment' virtual method
Parameters:
self
(
Wp.Proxy
)
–
features
(
Wp.ProxyFeatures
)
–
vfunc_augment
function vfunc_augment(self: Wp.Proxy, features: Wp.ProxyFeatures): {
// javascript implementation of the 'augment' virtual method
}
Parameters:
self
(
Wp.Proxy
)
–
features
(
Wp.ProxyFeatures
)
–
bound
bound (WpProxy * self, guint32 id)
Parameters:
self
–
id
–
do_bound
def do_bound (self, id):
#python implementation of the 'bound' virtual method
enum_params
gint enum_params (WpProxy * self, guint32 id, guint32 start, guint32 num, WpSpaPod * filter)
Parameters:
self
–
id
–
start
–
num
–
filter
–
do_enum_params
def do_enum_params (self, id, start, num, filter):
#python implementation of the 'enum_params' virtual method
Parameters:
self
(
Wp.Proxy
)
–
id
(
int
)
–
start
(
int
)
–
num
(
int
)
–
filter
(
Wp.SpaPod
)
–
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
)
–
id
(
Number
)
–
start
(
Number
)
–
num
(
Number
)
–
filter
(
Wp.SpaPod
)
–
get_info
gconstpointer get_info (WpProxy * self)
Parameters:
self
–
get_param_info
spa_param_info* get_param_info (WpProxy * self, guint * n_params)
Parameters:
self
–
n_params
–
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
)
–
n_params
(
int
)
–
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
)
–
n_params
(
Number
)
–
get_properties
WpProperties * get_properties (WpProxy * self)
Parameters:
self
–
do_get_properties
def do_get_properties (self):
#python implementation of the 'get_properties' virtual method
Parameters:
self
(
Wp.Proxy
)
–
vfunc_get_properties
function vfunc_get_properties(self: Wp.Proxy): {
// javascript implementation of the 'get_properties' virtual method
}
Parameters:
self
(
Wp.Proxy
)
–
prop_changed
prop_changed (WpProxy * self, const gchar * prop_name)
Parameters:
self
–
prop_name
–
pw_proxy_created
pw_proxy_created (WpProxy * self, pw_proxy* proxy)
Parameters:
self
–
proxy
–
do_pw_proxy_destroyed
def do_pw_proxy_destroyed (self):
#python implementation of the 'pw_proxy_destroyed' virtual method
Parameters:
self
(
Wp.Proxy
)
–
set_param
gint set_param (WpProxy * self, guint32 id, guint32 flags, WpSpaPod * param)
Parameters:
self
–
id
–
flags
–
param
–
do_set_param
def do_set_param (self, id, flags, param):
#python implementation of the 'set_param' virtual method
Parameters:
self
(
Wp.Proxy
)
–
id
(
int
)
–
flags
(
int
)
–
param
(
Wp.SpaPod
)
–
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
)
–
id
(
Number
)
–
flags
(
Number
)
–
param
(
Wp.SpaPod
)
–
subscribe_params
gint subscribe_params (WpProxy * self, guint32 * ids, guint32 n_ids)
Parameters:
self
–
ids
–
n_ids
–
do_subscribe_params
def do_subscribe_params (self, ids, n_ids):
#python implementation of the 'subscribe_params' virtual method
Parameters:
self
(
Wp.Proxy
)
–
ids
(
int
)
–
n_ids
(
int
)
–
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
)
–
ids
(
Number
)
–
n_ids
(
Number
)
–
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)
–
WP_PROXY_FEATURE_INFO
(2)
–
WP_PROXY_FEATURE_BOUND
(4)
–
WP_PROXY_FEATURE_PROPS
(8)
–
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)
–
Wp.ProxyFeatures.INFO
(2)
–
Wp.ProxyFeatures.BOUND
(4)
–
Wp.ProxyFeatures.PROPS
(8)
–
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)
–
Wp.ProxyFeatures.INFO
(2)
–
Wp.ProxyFeatures.BOUND
(4)
–
Wp.ProxyFeatures.PROPS
(8)
–
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.
The results of the search are