ECal.ClientView
Description: Reference for ECal.ClientView

### Class

# ECalClientView

since: 3.2

#### Description [src]

    class ECal.ClientView : GObject.Object
      implements Gio.Initable {
      /* No available fields */
    }

Contains only private data that should be read and manipulated using the functions below.

Available since: 3.2

#### Hierarchy

#### Ancestors

- GObject

#### Implements

- GInitable

#### Instance methods

###### e_cal_client_view_get_connection

Returns the `GDBusConnection` used to create the D-Bus proxy.

since: 3.8

###### e_cal_client_view_get_object_path

Returns the object path used to create the D-Bus proxy.

since: 3.8

###### e_cal_client_view_is_running

No description available.

since: 3.2

###### e_cal_client_view_ref_client

Returns the `ECalClientView:client` associated with `client_view`.

since: 3.10

###### e_cal_client_view_set_fields_of_interest

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 `NULL` for `fields_of_interest` will unset any previous changes.

###### e_cal_client_view_set_flags

Sets the `flags` which control the behaviour of `client_view`.

since: 3.6

###### e_cal_client_view_start

Tells `client_view` to start processing events.

since: 3.2

###### e_cal_client_view_stop

Tells `client_view` to stop processing events.

since: 3.2

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from GInitable (1)

###### g_initable_init

Initializes the object implementing the interface.

#### Properties

###### ECal.ClientView:client

The `ECalClient` for the view.

###### ECal.ClientView:connection

The `GDBusConnection` used to create the D-Bus proxy.

###### ECal.ClientView:object-path

The object path used to create the D-Bus proxy.

#### Signals

###### ECal.ClientView::complete

No description available.

###### ECal.ClientView::objects-added

No description available.

###### ECal.ClientView::objects-modified

No description available.

###### ECal.ClientView::objects-removed

No description available.

###### ECal.ClientView::progress

No description available.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct ECalClientViewClass {
      void (* objects_added) (
        ECalClientView* client_view,
        const GSList* objects
      );
      void (* objects_modified) (
        ECalClientView* client_view,
        const GSList* objects
      );
      void (* objects_removed) (
        ECalClientView* client_view,
        const GSList* uids
      );
      void (* progress) (
        ECalClientView* client_view,
        guint percent,
        const gchar* message
      );
      void (* complete) (
        ECalClientView* client_view,
        const GError* error
      );

    }

Base class structure for the `ECalClientView` class.

###### Class members

`objects_added: void (* objects_added) ( ECalClientView* client_view, const GSList* objects )`

  A signal emitted when new objects are added into the view.

`objects_modified: void (* objects_modified) ( ECalClientView* client_view, const GSList* objects )`

  A signal emitted when some objects are modified in the view.

`objects_removed: void (* objects_removed) ( ECalClientView* client_view, const GSList* uids )`

  A signal emitted when some objects are removed from the view.

`progress: void (* progress) ( ECalClientView* client_view, guint percent, const gchar* message )`

  A signal emitted when the backend notifies about the progress.

`complete: void (* complete) ( ECalClientView* client_view, const GError* error )`

  A signal emitted when the backend finished initial view population.

#### Virtual methods

###### ECal.ClientViewClass.complete

A signal emitted when the backend finished initial view population.

###### ECal.ClientViewClass.objects_added

A signal emitted when new objects are added into the view.

###### ECal.ClientViewClass.objects_modified

A signal emitted when some objects are modified in the view.

###### ECal.ClientViewClass.objects_removed

A signal emitted when some objects are removed from the view.

###### ECal.ClientViewClass.progress

A signal emitted when the backend notifies about the progress.