## 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                  (GNOME_Evolution_Calendar_CalView corba_view,
                                                 ECalViewListener *listener,
                                                 struct _ECal *client);

## Object Hierarchy

      GObject
       +----ECal

## Signal Prototypes

    "backend-died"
                void        user_function      (ECal *ecal,
                                                gpointer user_data);
    "backend-error"
                void        user_function      (ECal *ecal,
                                                gchar *arg1,
                                                gpointer user_data);
    "cal-opened"
                void        user_function      (ECal *ecal,
                                                gint arg1,
                                                gpointer user_data);
    "cal-set-mode"
                void        user_function      (ECal *ecal,
                                                ECalSetModeStatusEnum arg1,
                                                CalModeEnum arg2,
                                                gpointer user_data);

## 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);

Registers the ECalView class if necessary, and returns the type ID assigned to it.

Returns : | The type ID of the ECalView class.

### e_cal_view_new ()

    ECalView*   e_cal_view_new                  (GNOME_Evolution_Calendar_CalView corba_view,
                                                 ECalViewListener *listener,
                                                 struct _ECal *client);

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

`corba_view` : |
`listener` : |
`client` : |
Returns : | A newly-created view object, or NULL if the request failed.

## Signals

### The "backend-died" signal

    void        user_function                  (ECal *ecal,
                                                gpointer user_data);

@:

### The "backend-error" signal

    void        user_function                  (ECal *ecal,
                                                gchar *arg1,
                                                gpointer user_data);

@: @:

### The "cal-opened" signal

    void        user_function                  (ECal *ecal,
                                                gint arg1,
                                                gpointer user_data);

@: @:

### The "cal-set-mode" signal

    void        user_function                  (ECal *ecal,
                                                ECalSetModeStatusEnum arg1,
                                                CalModeEnum arg2,
                                                gpointer user_data);

@: @: @:

## See Also

e-cal, e-cal-view-listener