ECal.ClientView¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
||
r/w/co |
The |
||
r/w/co |
The object path used to create the D-Bus proxy |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
object |
r |
Class Details¶
- class ECal.ClientView(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Contains only private data that should be read and manipulated using the functions below.
New in version 3.2.
- get_connection()¶
- Returns:
- Return type:
Returns the
Gio.DBusConnection
used to create the D-Bus proxy.New in version 3.8.
- get_object_path()¶
- Returns:
the object path
- Return type:
Returns the object path used to create the D-Bus proxy.
New in version 3.8.
- is_running()¶
- Return type:
Retunrs: Whether view is running. Not running views are ignoring all events sent from the server.
New in version 3.2.
- ref_client()¶
- Returns:
an
ECal.Client
- Return type:
Returns the
ECal.ClientView
:client
associated with self.The returned
ECal.Client
is referenced for thread-safety. Unreference theECal.Client
withGObject.Object.unref
() when finished with it.New in version 3.10.
- set_fields_of_interest(fields_of_interest)¶
- Parameters:
fields_of_interest ([
str
] orNone
) – List of field names in which the client is interested, orNone
to reset the fields of interest- Raises:
Client can instruct server to which fields it is interested in only, thus the server can return less data over the wire. The server can still return complete objects, this is just a hint to it that the listed fields will be used only. The UID/RID fields are returned always. Initial views has no fields of interest and using
None
for fields_of_interest will unset any previous changes.Some backends can use summary information of its cache to create artifical objects, which will omit stored object parsing. If this cannot be done then it will simply return object as is stored in the cache.
- set_flags(flags)¶
- Parameters:
flags (
ECal.ClientViewFlags
) – theECal.ClientViewFlags
for self- Raises:
Sets the flags which control the behaviour of self.
New in version 3.6.
- start()¶
- Raises:
Tells self to start processing events.
New in version 3.2.
- stop()¶
- Raises:
Tells self to stop processing events.
New in version 3.2.
- do_complete(error) virtual¶
- Parameters:
error (
GLib.Error
) –
A signal emitted when the backend finished initial view population
Signal Details¶
- ECal.ClientView.signals.complete(client_view, object)¶
- Signal Name:
complete
- Flags:
- Parameters:
client_view (
ECal.ClientView
) – The object which received the signalobject (
GLib.Error
) –
- ECal.ClientView.signals.objects_added(client_view, objects)¶
- Signal Name:
objects-added
- Flags:
- Parameters:
client_view (
ECal.ClientView
) – The object which received the signalobjects ([
ICalGLib.Component
]) – aGLib.SList
of addedICalGLib.Component
objects into the client_view.
- ECal.ClientView.signals.objects_modified(client_view, objects)¶
- Signal Name:
objects-modified
- Flags:
- Parameters:
client_view (
ECal.ClientView
) – The object which received the signalobjects ([
ICalGLib.Component
]) – aGLib.SList
of modifiedICalGLib.Component
objects within the client_view
- ECal.ClientView.signals.objects_removed(client_view, uids)¶
- Signal Name:
objects-removed
- Flags:
- Parameters:
client_view (
ECal.ClientView
) – The object which received the signaluids ([
ECal.ComponentId
]) – aGLib.SList
of removed objects, described by their UID and eventually RID, as anECal.ComponentId
structure.
- ECal.ClientView.signals.progress(client_view, object, p0)¶
- Signal Name:
progress
- Flags:
- Parameters:
client_view (
ECal.ClientView
) – The object which received the signalobject (
int
) –p0 (
str
) –
Property Details¶
- ECal.ClientView.props.client¶
- Name:
client
- Type:
- Default Value:
- Flags:
The
ECal.Client
for the view
- ECal.ClientView.props.connection¶
- Name:
connection
- Type:
- Default Value:
- Flags:
The
Gio.DBusConnection
used to create the D-Bus proxy