ETextModel: Evolution Utilities Reference Manual

## ETextModel ETextModel |

## Functions

gint | (*ETextModelReposFn) ()
ETextModel * | e_text_model_new ()
void | e_text_model_changed ()
void | e_text_model_cancel_completion ()
void | e_text_model_reposition ()
gint | e_text_model_validate_position ()
const gchar * | e_text_model_get_text ()
gint | e_text_model_get_text_length ()
void | e_text_model_set_text ()
void | e_text_model_insert ()
void | e_text_model_insert_length ()
void | e_text_model_prepend ()
void | e_text_model_append ()
void | e_text_model_delete ()
gint | e_text_model_object_count ()
const gchar * | e_text_model_get_nth_object ()
gchar * | e_text_model_strdup_nth_object ()
void | e_text_model_get_nth_object_bounds ()
gint | e_text_model_get_object_at_offset ()
gint | e_text_model_get_object_at_pointer ()
void | e_text_model_activate_nth_object ()

## Signals

void | cancel-completion | Run Last
void | changed | Run Last
void | object-activated | Run Last
void | reposition | Run Last

## Object Hierarchy

        GObject
        ╰── ETextModel

## Description

## Functions

### ETextModelReposFn ()

    gint
    (*ETextModelReposFn) (gint Param1,
                          gpointer Param2);

### e_text_model_new ()

    ETextModel *
    e_text_model_new (void);

### e_text_model_changed ()

    void
    e_text_model_changed (ETextModel *model);

### e_text_model_cancel_completion ()

    void
    e_text_model_cancel_completion (ETextModel *model);

### e_text_model_reposition ()

    void
    e_text_model_reposition (ETextModel *model,
                             ETextModelReposFn fn,
                             gpointer repos_data);

### e_text_model_validate_position ()

    gint
    e_text_model_validate_position (ETextModel *model,
                                    gint pos);

### e_text_model_get_text ()

    const gchar *
    e_text_model_get_text (ETextModel *model);

### e_text_model_get_text_length ()

    gint
    e_text_model_get_text_length (ETextModel *model);

### e_text_model_set_text ()

    void
    e_text_model_set_text (ETextModel *model,
                           const gchar *text);

### e_text_model_insert ()

    void
    e_text_model_insert (ETextModel *model,
                         gint position,
                         const gchar *text);

### e_text_model_insert_length ()

    void
    e_text_model_insert_length (ETextModel *model,
                                gint position,
                                const gchar *text,
                                gint length);

### e_text_model_prepend ()

    void
    e_text_model_prepend (ETextModel *model,
                          const gchar *text);

### e_text_model_append ()

    void
    e_text_model_append (ETextModel *model,
                         const gchar *text);

### e_text_model_delete ()

    void
    e_text_model_delete (ETextModel *model,
                         gint position,
                         gint length);

### e_text_model_object_count ()

    gint
    e_text_model_object_count (ETextModel *model);

### e_text_model_get_nth_object ()

    const gchar *
    e_text_model_get_nth_object (ETextModel *model,
                                 gint n,
                                 gint *len);

### e_text_model_strdup_nth_object ()

    gchar *
    e_text_model_strdup_nth_object (ETextModel *model,
                                    gint n);

### e_text_model_get_nth_object_bounds ()

    void
    e_text_model_get_nth_object_bounds (ETextModel *model,
                                        gint n,
                                        gint *start_pos,
                                        gint *end_pos);

### e_text_model_get_object_at_offset ()

    gint
    e_text_model_get_object_at_offset (ETextModel *model,
                                       gint offset);

### e_text_model_get_object_at_pointer ()

    gint
    e_text_model_get_object_at_pointer (ETextModel *model,
                                        const gchar *c);

### e_text_model_activate_nth_object ()

    void
    e_text_model_activate_nth_object (ETextModel *model,
                                      gint n);

## Types and Values

## Signal Details

### The `“cancel-completion”` signal

    void
    user_function (ETextModel *etextmodel,
                   gpointer    user_data)

Flags: Run Last

### The `“changed”` signal

    void
    user_function (ETextModel *etextmodel,
                   gpointer    user_data)

Flags: Run Last

### The `“object-activated”` signal

    void
    user_function (ETextModel *etextmodel,
                   gint        arg1,
                   gpointer    user_data)

Flags: Run Last

### The `“reposition”` signal

    void
    user_function (ETextModel *etextmodel,
                   gpointer    arg1,
                   gpointer    arg2,
                   gpointer    user_data)

Flags: Run Last