ESorter

ESorter

Types and Values

Object Hierarchy

    GInterface
    ╰── ESorter

Description

Functions

e_sorter_model_to_sorted ()

gint
e_sorter_model_to_sorted (ESorter *sorter,
                          gint row);

e_sorter_sorted_to_model ()

gint
e_sorter_sorted_to_model (ESorter *sorter,
                          gint row);

e_sorter_get_model_to_sorted_array ()

void
e_sorter_get_model_to_sorted_array (ESorter *sorter,
                                    gint **array,
                                    gint *count);

e_sorter_get_sorted_to_model_array ()

void
e_sorter_get_sorted_to_model_array (ESorter *sorter,
                                    gint **array,
                                    gint *count);

e_sorter_needs_sorting ()

gboolean
e_sorter_needs_sorting (ESorter *sorter);

Types and Values

struct ESorterInterface

struct ESorterInterface {
	GTypeInterface parent_interface;

	gint		(*model_to_sorted) (ESorter *sorter,
						 gint row);
	gint		(*sorted_to_model) (ESorter *sorter,
						 gint row);

	void		(*get_model_to_sorted_array)
						(ESorter *sorter,
						 gint **array,
						 gint *count);
	void		(*get_sorted_to_model_array)
						(ESorter *sorter,
						 gint **array,
						 gint *count);

	gboolean (*needs_sorting) (ESorter *sorter);
};