ClutterGst.CameraManager¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ClutterGst.CameraManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
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:
Retrieve an array of supported camera devices.
Signal Details¶
- ClutterGst.CameraManager.signals.camera_added(camera_manager, camera_device)¶
- Signal Name:
camera-added
- Flags:
- Parameters:
camera_manager (
ClutterGst.CameraManager
) – The object which received the signalcamera_device (
ClutterGst.CameraDevice
) – a camera device added
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:
- Parameters:
camera_manager (
ClutterGst.CameraManager
) – The object which received the signalcamera_device (
ClutterGst.CameraDevice
) – a camera device
The
::camera-removed
signal is emitted whenever a camera device is unplugged/removed from the system.