FPrint.Context¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
This signal is emitted when a fingerprint reader is added. |
|
This signal is emitted when a fingerprint reader is removed. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class FPrint.Context(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a newly created
FPrint.Context
- Return type:
Create a new
FPrint.Context
.
- enumerate()¶
Enumerate all devices. You should call this function exactly once at startup. Please note that it iterates the mainloop until all devices are enumerated.
- get_devices()¶
- Returns:
a new
GLib.PtrArray
ofFPrint.Device
's.- Return type:
Get all devices.
FPrint.Context.enumerate
() will be called as needed.
- do_device_added(device) virtual¶
- Parameters:
device (
FPrint.Device
) –
- do_device_removed(device) virtual¶
- Parameters:
device (
FPrint.Device
) –
Signal Details¶
- FPrint.Context.signals.device_added(context, device)¶
- Signal Name:
device-added
- Flags:
- Parameters:
context (
FPrint.Context
) – The object which received the signaldevice (
FPrint.Device
) – AFPrint.Device
This signal is emitted when a fingerprint reader is added.
- FPrint.Context.signals.device_removed(context, device)¶
- Signal Name:
device-removed
- Flags:
- Parameters:
context (
FPrint.Context
) – The object which received the signaldevice (
FPrint.Device
) – AFPrint.Device
This signal is emitted when a fingerprint reader is removed.
It is guaranteed that the device has been closed before this signal is emitted. See the
FPrint.Device
removed signal documentation for more information.