Zeitgeist.DataSourceRegistry¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Zeitgeist.DataSourceRegistry(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_data_source_from_id(unique_id, cancellable, _callback_, *_callback__target)¶
- Parameters:
unique_id (
str) –cancellable (
Gio.CancellableorNone) –_callback_ (
Gio.AsyncReadyCallbackorNone) –
- get_data_source_from_id_finish(_res_)¶
- Parameters:
_res_ (
Gio.AsyncResult) –- Raises:
- Return type:
- get_data_sources(cancellable, _callback_, *_callback__target)¶
- Parameters:
cancellable (
Gio.CancellableorNone) –_callback_ (
Gio.AsyncReadyCallbackorNone) –
- get_data_sources_finish(_res_)¶
- Parameters:
_res_ (
Gio.AsyncResult) –- Raises:
- Return type:
- register_data_source(data_source, cancellable, _callback_, *_callback__target)¶
- Parameters:
data_source (
Zeitgeist.DataSource) –cancellable (
Gio.CancellableorNone) –_callback_ (
Gio.AsyncReadyCallbackorNone) –
- register_data_source_finish(_res_)¶
- Parameters:
_res_ (
Gio.AsyncResult) –- Raises:
- Return type:
- set_data_source_enabled(unique_id, enabled, cancellable, _callback_, *_callback__target)¶
- Parameters:
unique_id (
str) –enabled (
bool) –cancellable (
Gio.CancellableorNone) –_callback_ (
Gio.AsyncReadyCallbackorNone) –
- set_data_source_enabled_finish(_res_)¶
- Parameters:
_res_ (
Gio.AsyncResult) –- Raises:
Signal Details¶
- Zeitgeist.DataSourceRegistry.signals.source_disconnected(data_source_registry, data_source)¶
- Signal Name:
source-disconnected- Flags:
- Parameters:
data_source_registry (
Zeitgeist.DataSourceRegistry) – The object which received the signaldata_source (
Zeitgeist.DataSource) –
- Zeitgeist.DataSourceRegistry.signals.source_enabled(data_source_registry, unique_id, enabled)¶
- Signal Name:
source-enabled- Flags:
- Parameters:
data_source_registry (
Zeitgeist.DataSourceRegistry) – The object which received the signalunique_id (
str) –enabled (
bool) –
- Zeitgeist.DataSourceRegistry.signals.source_registered(data_source_registry, data_source)¶
- Signal Name:
source-registered- Flags:
- Parameters:
data_source_registry (
Zeitgeist.DataSourceRegistry) – The object which received the signaldata_source (
Zeitgeist.DataSource) –