Clapper.EnhancerProxyList

g Clapper.EnhancerProxyList Clapper.EnhancerProxyList GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gio.ListModel->Clapper.EnhancerProxyList Gst.Object->Clapper.EnhancerProxyList

Subclasses:

None

Methods

Inherited:

Gst.Object (29), GObject.Object (37), Gio.ListModel (4)

Structs:

GObject.ObjectClass (5)

get_n_proxies ()

get_proxy (index)

get_proxy_by_module (module_name)

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7), Gio.ListModel (3)

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

n-proxies

int

r/en

Signals

Inherited:

Gst.Object (1), GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1), Gio.ListModel (1)

Class Details

class Clapper.EnhancerProxyList(**kwargs)
Bases:

Gst.Object, Gio.ListModel

Abstract:

No

Structure:

Clapper.EnhancerProxyListClass

A list of enhancer proxies.

New in version 0.10.

get_n_proxies()
Returns:

The number of proxies in Clapper.EnhancerProxyList.

Return type:

int

Get the number of proxies in Clapper.EnhancerProxyList.

This behaves the same as [method`Gio`.ListModel.get_n_items], and is here for code uniformity and convenience to avoid type casting by user.

New in version 0.10.

get_proxy(index)
Parameters:

index (int) – an enhancer proxy index

Returns:

The Clapper.EnhancerProxy at index.

Return type:

Clapper.EnhancerProxy or None

Get the Clapper.EnhancerProxy at index.

This behaves the same as [method`Gio`.ListModel.get_item], and is here for code uniformity and convenience to avoid type casting by user.

New in version 0.10.

get_proxy_by_module(module_name)
Parameters:

module_name (str) – an enhancer module name

Returns:

The Clapper.EnhancerProxy with requested module name.

Return type:

Clapper.EnhancerProxy or None

Get the Clapper.EnhancerProxy by module name as defined in its plugin file.

A convenience function to find a Clapper.EnhancerProxy by its unique module name in the list.

New in version 0.10.

Property Details

Clapper.EnhancerProxyList.props.n_proxies
Name:

n-proxies

Type:

int

Default Value:

0

Flags:

READABLE, EXPLICIT_NOTIFY

Number of proxies in the list.

New in version 0.10.