## Selections

Selections — selection and clipboard utilities

## Synopsis

    #include <e-util/e-util.h>

    void                e_target_list_add_calendar_targets  (GtkTargetList *list,
                                                             guint info);
    void                e_target_list_add_directory_targets (GtkTargetList *list,
                                                             guint info);
    void                e_target_list_add_html_targets      (GtkTargetList *list,
                                                             guint info);
    gboolean            e_selection_data_set_calendar       (GtkSelectionData *selection_data,
                                                             const gchar *source,
                                                             gint length);
    gboolean            e_selection_data_set_directory      (GtkSelectionData *selection_data,
                                                             const gchar *source,
                                                             gint length);
    gboolean            e_selection_data_set_html           (GtkSelectionData *selection_data,
                                                             const gchar *source,
                                                             gint length);
    gchar *             e_selection_data_get_calendar       (GtkSelectionData *selection_data);
    gchar *             e_selection_data_get_directory      (GtkSelectionData *selection_data);
    gchar *             e_selection_data_get_html           (GtkSelectionData *selection_data);
    gboolean            e_selection_data_targets_include_calendar
                                                            (GtkSelectionData *selection_data);
    gboolean            e_selection_data_targets_include_directory
                                                            (GtkSelectionData *selection_data);
    gboolean            e_selection_data_targets_include_html
                                                            (GtkSelectionData *selection_data);
    gboolean            e_targets_include_calendar          (GdkAtom *targets,
                                                             gint n_targets);
    gboolean            e_targets_include_directory         (GdkAtom *targets,
                                                             gint n_targets);
    gboolean            e_targets_include_html              (GdkAtom *targets,
                                                             gint n_targets);
    void                e_clipboard_set_calendar            (GtkClipboard *clipboard,
                                                             const gchar *source,
                                                             gint length);
    void                e_clipboard_set_directory           (GtkClipboard *clipboard,
                                                             const gchar *source,
                                                             gint length);
    void                e_clipboard_set_html                (GtkClipboard *clipboard,
                                                             const gchar *source,
                                                             gint length);
    void                e_clipboard_request_calendar        (GtkClipboard *clipboard,
                                                             GtkClipboardTextReceivedFunc callback,
                                                             gpointer user_data);
    void                e_clipboard_request_directory       (GtkClipboard *clipboard,
                                                             GtkClipboardTextReceivedFunc callback,
                                                             gpointer user_data);
    void                e_clipboard_request_html            (GtkClipboard *clipboard,
                                                             GtkClipboardTextReceivedFunc callback,
                                                             gpointer user_data);
    gchar *             e_clipboard_wait_for_calendar       (GtkClipboard *clipboard);
    gchar *             e_clipboard_wait_for_directory      (GtkClipboard *clipboard);
    gchar *             e_clipboard_wait_for_html           (GtkClipboard *clipboard);
    gboolean            e_clipboard_wait_is_calendar_available
                                                            (GtkClipboard *clipboard);
    gboolean            e_clipboard_wait_is_directory_available
                                                            (GtkClipboard *clipboard);
    gboolean            e_clipboard_wait_is_html_available  (GtkClipboard *clipboard);
    void                e_drag_dest_add_calendar_targets    (GtkWidget *widget);
    void                e_drag_dest_add_directory_targets   (GtkWidget *widget);
    void                e_drag_dest_add_html_targets        (GtkWidget *widget);
    void                e_drag_source_add_calendar_targets  (GtkWidget *widget);
    void                e_drag_source_add_directory_targets (GtkWidget *widget);
    void                e_drag_source_add_html_targets      (GtkWidget *widget);

## Description

## Details

### e_target_list_add_calendar_targets ()

    void                e_target_list_add_calendar_targets  (GtkTargetList *list,
                                                             guint info);

### e_target_list_add_directory_targets ()

    void                e_target_list_add_directory_targets (GtkTargetList *list,
                                                             guint info);

### e_target_list_add_html_targets ()

    void                e_target_list_add_html_targets      (GtkTargetList *list,
                                                             guint info);

### e_selection_data_set_calendar ()

    gboolean            e_selection_data_set_calendar       (GtkSelectionData *selection_data,
                                                             const gchar *source,
                                                             gint length);

### e_selection_data_set_directory ()

    gboolean            e_selection_data_set_directory      (GtkSelectionData *selection_data,
                                                             const gchar *source,
                                                             gint length);

### e_selection_data_set_html ()

    gboolean            e_selection_data_set_html           (GtkSelectionData *selection_data,
                                                             const gchar *source,
                                                             gint length);

### e_selection_data_get_calendar ()

    gchar *             e_selection_data_get_calendar       (GtkSelectionData *selection_data);

### e_selection_data_get_directory ()

    gchar *             e_selection_data_get_directory      (GtkSelectionData *selection_data);

### e_selection_data_get_html ()

    gchar *             e_selection_data_get_html           (GtkSelectionData *selection_data);

### e_selection_data_targets_include_calendar ()

    gboolean            e_selection_data_targets_include_calendar
                                                            (GtkSelectionData *selection_data);

### e_selection_data_targets_include_directory ()

    gboolean            e_selection_data_targets_include_directory
                                                            (GtkSelectionData *selection_data);

### e_selection_data_targets_include_html ()

    gboolean            e_selection_data_targets_include_html
                                                            (GtkSelectionData *selection_data);

### e_targets_include_calendar ()

    gboolean            e_targets_include_calendar          (GdkAtom *targets,
                                                             gint n_targets);

### e_targets_include_directory ()

    gboolean            e_targets_include_directory         (GdkAtom *targets,
                                                             gint n_targets);

### e_targets_include_html ()

    gboolean            e_targets_include_html              (GdkAtom *targets,
                                                             gint n_targets);

### e_clipboard_set_calendar ()

    void                e_clipboard_set_calendar            (GtkClipboard *clipboard,
                                                             const gchar *source,
                                                             gint length);

### e_clipboard_set_directory ()

    void                e_clipboard_set_directory           (GtkClipboard *clipboard,
                                                             const gchar *source,
                                                             gint length);

### e_clipboard_set_html ()

    void                e_clipboard_set_html                (GtkClipboard *clipboard,
                                                             const gchar *source,
                                                             gint length);

### e_clipboard_request_calendar ()

    void                e_clipboard_request_calendar        (GtkClipboard *clipboard,
                                                             GtkClipboardTextReceivedFunc callback,
                                                             gpointer user_data);

### e_clipboard_request_directory ()

    void                e_clipboard_request_directory       (GtkClipboard *clipboard,
                                                             GtkClipboardTextReceivedFunc callback,
                                                             gpointer user_data);

### e_clipboard_request_html ()

    void                e_clipboard_request_html            (GtkClipboard *clipboard,
                                                             GtkClipboardTextReceivedFunc callback,
                                                             gpointer user_data);

### e_clipboard_wait_for_calendar ()

    gchar *             e_clipboard_wait_for_calendar       (GtkClipboard *clipboard);

### e_clipboard_wait_for_directory ()

    gchar *             e_clipboard_wait_for_directory      (GtkClipboard *clipboard);

### e_clipboard_wait_for_html ()

    gchar *             e_clipboard_wait_for_html           (GtkClipboard *clipboard);

### e_clipboard_wait_is_calendar_available ()

    gboolean            e_clipboard_wait_is_calendar_available
                                                            (GtkClipboard *clipboard);

### e_clipboard_wait_is_directory_available ()

    gboolean            e_clipboard_wait_is_directory_available
                                                            (GtkClipboard *clipboard);

### e_clipboard_wait_is_html_available ()

    gboolean            e_clipboard_wait_is_html_available  (GtkClipboard *clipboard);

### e_drag_dest_add_calendar_targets ()

    void                e_drag_dest_add_calendar_targets    (GtkWidget *widget);

### e_drag_dest_add_directory_targets ()

    void                e_drag_dest_add_directory_targets   (GtkWidget *widget);

### e_drag_dest_add_html_targets ()

    void                e_drag_dest_add_html_targets        (GtkWidget *widget);

### e_drag_source_add_calendar_targets ()

    void                e_drag_source_add_calendar_targets  (GtkWidget *widget);

### e_drag_source_add_directory_targets ()

    void                e_drag_source_add_directory_targets (GtkWidget *widget);

### e_drag_source_add_html_targets ()

    void                e_drag_source_add_html_targets      (GtkWidget *widget);