ClutterGst.CameraManager

g ClutterGst.CameraManager ClutterGst.CameraManager GObject.Object GObject.Object GObject.Object->ClutterGst.CameraManager

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_default ()

get_camera_devices ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Name

Short Description

camera-added

The ::camera-added signal is emitted whenever a new camera device is available.

camera-removed

The ::camera-removed signal is emitted whenever a camera device is unplugged/removed from the system.

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ClutterGst.CameraManager(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ClutterGst.CameraManagerClass

An object to list available cameras on the system.

The ClutterGst.CameraManager structure contains only private data and should not be accessed directly.

classmethod get_default()
Returns:

the default camera manager.

Return type:

ClutterGst.CameraManager

Get the camera manager.

This function has to be called from Clutter’s main thread.

get_camera_devices()
Returns:

An array of ClutterGst.CameraDevice representing the supported camera devices

Return type:

[ClutterGst.CameraDevice]

Retrieve an array of supported camera devices.

Signal Details

ClutterGst.CameraManager.signals.camera_added(camera_manager, camera_device)
Signal Name:

camera-added

Flags:

RUN_LAST

Parameters:

The ::camera-added signal is emitted whenever a new camera device is available.

ClutterGst.CameraManager.signals.camera_removed(camera_manager, camera_device)
Signal Name:

camera-removed

Flags:

RUN_LAST

Parameters:

The ::camera-removed signal is emitted whenever a camera device is unplugged/removed from the system.