EFilterPart: Evolution Utilities Reference Manual

## EFilterPart EFilterPart |

## Functions

EFilterPart * | e_filter_part_new ()
gboolean | e_filter_part_validate ()
gint | e_filter_part_eq ()
gint | e_filter_part_xml_create ()
xmlNodePtr | e_filter_part_xml_encode ()
gint | e_filter_part_xml_decode ()
EFilterPart * | e_filter_part_clone ()
void | e_filter_part_copy_values ()
EFilterElement * | e_filter_part_find_element ()
GtkWidget * | e_filter_part_get_widget ()
void | e_filter_part_build_code ()
void | e_filter_part_expand_code ()
void | e_filter_part_build_code_list ()
EFilterPart * | e_filter_part_find_list ()
EFilterPart * | e_filter_part_next_list ()

## Description

## Functions

### e_filter_part_new ()

    EFilterPart *
    e_filter_part_new (void);

`e_filter_part_new` is deprecated and should not be used in newly-written code.

Create a new EFilterPart object.

#### Returns

A new EFilterPart object.

### e_filter_part_validate ()

    gboolean
    e_filter_part_validate (EFilterPart *part,
                            EAlert **alert);

`e_filter_part_validate` is deprecated and should not be used in newly-written code.

### e_filter_part_eq ()

    gint
    e_filter_part_eq (EFilterPart *part_a,
                      EFilterPart *part_b);

`e_filter_part_eq` is deprecated and should not be used in newly-written code.

### e_filter_part_xml_create ()

    gint
    e_filter_part_xml_create (EFilterPart *part,
                              xmlNodePtr node,
                              struct _ERuleContext *rc);

`e_filter_part_xml_create` is deprecated and should not be used in newly-written code.

### e_filter_part_xml_encode ()

    xmlNodePtr
    e_filter_part_xml_encode (EFilterPart *fe);

`e_filter_part_xml_encode` is deprecated and should not be used in newly-written code.

### e_filter_part_xml_decode ()

    gint
    e_filter_part_xml_decode (EFilterPart *fe,
                              xmlNodePtr node);

`e_filter_part_xml_decode` is deprecated and should not be used in newly-written code.

### e_filter_part_clone ()

    EFilterPart *
    e_filter_part_clone (EFilterPart *part);

`e_filter_part_clone` is deprecated and should not be used in newly-written code.

### e_filter_part_copy_values ()

    void
    e_filter_part_copy_values (EFilterPart *dst_part,
                               EFilterPart *src_part);

`e_filter_part_copy_values` is deprecated and should not be used in newly-written code.

### e_filter_part_find_element ()

    EFilterElement *
    e_filter_part_find_element (EFilterPart *part,
                                const gchar *name);

`e_filter_part_find_element` is deprecated and should not be used in newly-written code.

### e_filter_part_get_widget ()

    GtkWidget *
    e_filter_part_get_widget (EFilterPart *part);

`e_filter_part_get_widget` is deprecated and should not be used in newly-written code.

### e_filter_part_build_code ()

    void
    e_filter_part_build_code (EFilterPart *part,
                              GString *out);

`e_filter_part_build_code` is deprecated and should not be used in newly-written code.

Outputs the code of a part.

### e_filter_part_expand_code ()

    void
    e_filter_part_expand_code (EFilterPart *part,
                               const gchar *str,
                               GString *out);

`e_filter_part_expand_code` is deprecated and should not be used in newly-written code.

Expands the variables in string `str` based on the values of the part.

### e_filter_part_build_code_list ()

    void
    e_filter_part_build_code_list (GList *list,
                                   GString *out);

`e_filter_part_build_code_list` is deprecated and should not be used in newly-written code.

Construct a list of the filter parts code into a single string.

### e_filter_part_find_list ()

    EFilterPart *
    e_filter_part_find_list (GList *list,
                             const gchar *name);

`e_filter_part_find_list` is deprecated and should not be used in newly-written code.

Find a filter part stored in a list.

### e_filter_part_next_list ()

    EFilterPart *
    e_filter_part_next_list (GList *list,
                             EFilterPart *last);

`e_filter_part_next_list` is deprecated and should not be used in newly-written code.

Iterate through a filter part list.

#### Parameters

last | The last item retrieved, or NULL to start from the beginning of the list. |

#### Returns

The next value in the list, or NULL if the list is expired.

## Types and Values