## ECanvas ECanvas |

## Synopsis

    void                (*ECanvasItemSelectionFunc)         (GnomeCanvasItem *item,
                                                             gint flags,
                                                             gpointer user_data);
                        ECanvasSelectionInfo;
    struct              ECanvas;
    GtkWidget *         e_canvas_new                        (void);
    void                e_canvas_item_grab_focus            (GnomeCanvasItem *item,
                                                             gboolean widget_too);
    void                e_canvas_item_request_reflow        (GnomeCanvasItem *item);
    void                e_canvas_item_request_parent_reflow (GnomeCanvasItem *item);
    void                (*ECanvasItemReflowFunc)            (GnomeCanvasItem *item,
                                                             gint flags);
    void                e_canvas_item_set_reflow_callback   (GnomeCanvasItem *item,
                                                             ECanvasItemReflowFunc func);
    void                (*ECanvasItemGrabCancelled)         (ECanvas *canvas,
                                                             GnomeCanvasItem *item,
                                                             gpointer data);
    gint                e_canvas_item_grab                  (ECanvas *canvas,
                                                             GnomeCanvasItem *item,
                                                             guint event_mask,
                                                             GdkCursor *cursor,
                                                             GdkDevice *device,
                                                             guint32 etime,
                                                             ECanvasItemGrabCancelled cancelled,
                                                             gpointer cancelled_data);
    void                e_canvas_item_ungrab                (ECanvas *canvas,
                                                             GnomeCanvasItem *item,
                                                             guint32 etime);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkLayout
                               +----GnomeCanvas
                                     +----ECanvas
                                           +----ECalendar

## Implemented Interfaces

ECanvas implements AtkImplementorIface, GtkBuildable and GtkScrollable.

## Signals

      "reflow"                                         : Run Last

## Description

## Details

### ECanvasItemSelectionFunc ()

    void                (*ECanvasItemSelectionFunc)         (GnomeCanvasItem *item,
                                                             gint flags,
                                                             gpointer user_data);

### ECanvasSelectionInfo

    typedef struct {
    	GnomeCanvasItem *item;
    	gpointer         id;
    } ECanvasSelectionInfo;

### struct ECanvas

    struct ECanvas;

### e_canvas_new ()

    GtkWidget *         e_canvas_new                        (void);

### e_canvas_item_grab_focus ()

    void                e_canvas_item_grab_focus            (GnomeCanvasItem *item,
                                                             gboolean widget_too);

Makes the specified item take the keyboard focus, so all keyboard events will be sent to it. If the canvas widget itself did not have the focus and `widget_too` is `TRUE`, it grabs that focus as well.

`item` : | A canvas item.
`widget_too` : | Whether or not to grab the widget-level focus too

### e_canvas_item_request_reflow ()

    void                e_canvas_item_request_reflow        (GnomeCanvasItem *item);

### e_canvas_item_request_parent_reflow ()

    void                e_canvas_item_request_parent_reflow (GnomeCanvasItem *item);

### ECanvasItemReflowFunc ()

    void                (*ECanvasItemReflowFunc)            (GnomeCanvasItem *item,
                                                             gint flags);

### e_canvas_item_set_reflow_callback ()

    void                e_canvas_item_set_reflow_callback   (GnomeCanvasItem *item,
                                                             ECanvasItemReflowFunc func);

### ECanvasItemGrabCancelled ()

    void                (*ECanvasItemGrabCancelled)         (ECanvas *canvas,
                                                             GnomeCanvasItem *item,
                                                             gpointer data);

### e_canvas_item_grab ()

    gint                e_canvas_item_grab                  (ECanvas *canvas,
                                                             GnomeCanvasItem *item,
                                                             guint event_mask,
                                                             GdkCursor *cursor,
                                                             GdkDevice *device,
                                                             guint32 etime,
                                                             ECanvasItemGrabCancelled cancelled,
                                                             gpointer cancelled_data);

### e_canvas_item_ungrab ()

    void                e_canvas_item_ungrab                (ECanvas *canvas,
                                                             GnomeCanvasItem *item,
                                                             guint32 etime);

## Signal Details

### The `"reflow"` signal

    void                user_function                      (ECanvas *ecanvas,
                                                            gpointer user_data)      : Run Last