Whole document tree
    

Whole document tree

ETableSelectionModel

ETableSelectionModel

Name

ETableSelectionModel -- 

Object Hierarchy


  GtkObject
   +----ETableSelectionModel

Signal Prototypes


"cursor-changed"
            void        user_function      (ETableSelectionModel *etableselectionmodel,
                                            gint arg1,
                                            gint arg2,
                                            gpointer user_data);
"selection-changed"
            void        user_function      (ETableSelectionModel *etableselectionmodel,
                                            gpointer user_data);

Description

Details

E_TABLE_SELECTION_MODEL_TYPE

#define E_TABLE_SELECTION_MODEL_TYPE        (e_table_selection_model_get_type ())


ETableSelectionModel

typedef struct {
	GtkObject     base;

	ETableModel  *model;
	ETableSorter *sorter;

	gint row_count;
        guint32 *selection;

	gint cursor_row;
	gint cursor_col;
	gint selection_start_row;

	guint model_changed_id;
	guint model_row_inserted_id, model_row_deleted_id;

	guint frozen : 1;
	guint selection_model_changed : 1;
	guint group_info_changed : 1;
} ETableSelectionModel;


e_table_selection_model_is_row_selected ()

gboolean    e_table_selection_model_is_row_selected
                                            (ETableSelectionModel *selection,
                                             gint n);


e_table_selection_model_foreach ()

void        e_table_selection_model_foreach (ETableSelectionModel *selection,
                                             ETableForeachFunc callback,
                                             gpointer closure);


e_table_selection_model_do_something ()

void        e_table_selection_model_do_something
                                            (ETableSelectionModel *selection,
                                             guint row,
                                             guint col,
                                             GdkModifierType state);


e_table_selection_model_maybe_do_something ()

void        e_table_selection_model_maybe_do_something
                                            (ETableSelectionModel *selection,
                                             guint row,
                                             guint col,
                                             GdkModifierType state);


e_table_selection_model_clear ()

void        e_table_selection_model_clear   (ETableSelectionModel *selection);


e_table_selection_model_selected_count ()

gint        e_table_selection_model_selected_count
                                            (ETableSelectionModel *selection);


e_table_selection_model_select_all ()

void        e_table_selection_model_select_all
                                            (ETableSelectionModel *selection);


e_table_selection_model_invert_selection ()

void        e_table_selection_model_invert_selection
                                            (ETableSelectionModel *selection);


e_table_selection_model_new ()

ETableSelectionModel* e_table_selection_model_new
                                            (void);

This routine creates a new ETableSelectionModel.

Signals

The "cursor-changed" signal

void        user_function                  (ETableSelectionModel *etableselectionmodel,
                                            gint arg1,
                                            gint arg2,
                                            gpointer user_data);