ECalView

ECalView — Represents a search against a calendar.

Synopsis

                    ECal;
#define             E_CAL_VIEW                          (obj)
#define             E_CAL_VIEW_CLASS                    (klass)
GType               e_cal_view_get_type                 (void);
ECalView*           e_cal_view_new                      (DBusGProxy *view_proxy,
                                                         ECalViewListener *listener,
                                                         struct _ECal *client);
struct _ECal*       e_cal_view_get_client               (ECalView *view);
void                e_cal_view_start                    (ECalView *view);

Object Hierarchy

  GObject
   +----ECal

Signals

  "backend-died"                                   : Run First
  "backend-error"                                  : Run First
  "cal-opened"                                     : Run First
  "cal-set-mode"                                   : Run First

Description

In the same way that an EBookView represents a view of an addressbook, the ECalView is a view of the ECal.

Details

ECal

typedef struct _ECal ECal;


E_CAL_VIEW()

#define E_CAL_VIEW(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_CAL_VIEW, ECalView))

obj :


E_CAL_VIEW_CLASS()

#define E_CAL_VIEW_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_CAL_VIEW, ECalViewClass))

klass :


e_cal_view_get_type ()

GType               e_cal_view_get_type                 (void);

Returns :


e_cal_view_new ()

ECalView*           e_cal_view_new                      (DBusGProxy *view_proxy,
                                                         ECalViewListener *listener,
                                                         struct _ECal *client);

Creates a new view object by issuing the view creation request to the calendar server.

view_proxy :

listener :

An ECalViewListener.

client :

An ECal object.

Returns :

A newly-created view object, or NULL if the request failed.

e_cal_view_get_client ()

struct _ECal*       e_cal_view_get_client               (ECalView *view);

Get the ECal associated with this view.

view :

A ECalView object.

Returns :

the associated client.

e_cal_view_start ()

void                e_cal_view_start                    (ECalView *view);

Starts a live query to the calendar/tasks backend.

view :

A ECalView object.

Signal Details

The "backend-died" signal

void                user_function                      (ECal    *ecal,
                                                        gpointer user_data)      : Run First

@:

The "backend-error" signal

void                user_function                      (ECal    *ecal,
                                                        gchar   *arg1,
                                                        gpointer user_data)      : Run First

@: @:

The "cal-opened" signal

void                user_function                      (ECal    *ecal,
                                                        gint     arg1,
                                                        gpointer user_data)      : Run First

@: @:

The "cal-set-mode" signal

void                user_function                      (ECal                 *ecal,
                                                        ECalSetModeStatusEnum arg1,
                                                        CalModeEnum           arg2,
                                                        gpointer              user_data)      : Run First

@: @: @:

See Also

e-cal, e-cal-view-listener