#define E_TABLE_SELECTION_MODEL_TYPE typedef ETableSelectionModel; gboolean e_table_selection_model_is_row_selected (ETableSelectionModel *selection, gint n); void e_table_selection_model_foreach (ETableSelectionModel *selection, ETableForeachFunc callback, gpointer closure); void e_table_selection_model_do_something (ETableSelectionModel *selection, guint row, guint col, GdkModifierType state); void e_table_selection_model_maybe_do_something (ETableSelectionModel *selection, guint row, guint col, GdkModifierType state); void e_table_selection_model_clear (ETableSelectionModel *selection); gint e_table_selection_model_selected_count (ETableSelectionModel *selection); void e_table_selection_model_select_all (ETableSelectionModel *selection); void e_table_selection_model_invert_selection (ETableSelectionModel *selection); ETableSelectionModel* e_table_selection_model_new (void);
"cursor-changed" void user_function (ETableSelectionModel *etableselectionmodel, gint arg1, gint arg2, gpointer user_data); "selection-changed" void user_function (ETableSelectionModel *etableselectionmodel, gpointer user_data);
#define E_TABLE_SELECTION_MODEL_TYPE (e_table_selection_model_get_type ())
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;gboolean e_table_selection_model_is_row_selected
(ETableSelectionModel *selection,
gint n);selection : | |
n : | |
| Returns : |
|
void e_table_selection_model_foreach (ETableSelectionModel *selection, ETableForeachFunc callback, gpointer closure);
selection : | |
callback : | |
closure : |
|
void e_table_selection_model_do_something
(ETableSelectionModel *selection,
guint row,
guint col,
GdkModifierType state);selection : | |
row : | |
col : | |
state : |
|
void e_table_selection_model_maybe_do_something
(ETableSelectionModel *selection,
guint row,
guint col,
GdkModifierType state);selection : | |
row : | |
col : | |
state : |
|
void e_table_selection_model_clear (ETableSelectionModel *selection);
selection : |
|
gint e_table_selection_model_selected_count
(ETableSelectionModel *selection);selection : | |
| Returns : |
|
void e_table_selection_model_select_all
(ETableSelectionModel *selection);selection : |
|
void e_table_selection_model_invert_selection
(ETableSelectionModel *selection);selection : |
|
ETableSelectionModel* e_table_selection_model_new (void);
This routine creates a new ETableSelectionModel.
| Returns : | The new ETableSelectionModel. |
void user_function (ETableSelectionModel *etableselectionmodel, gint arg1, gint arg2, gpointer user_data);
etableselectionmodel : | the object which received the signal. |
arg1 : | |
arg2 : | |
user_data : | user data set when the signal handler was connected. |
void user_function (ETableSelectionModel *etableselectionmodel, gpointer user_data);
etableselectionmodel : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
| <<< ETableSorted | ETableExtras >>> |