#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); |
"model" GtkObject : Read / Write "sorter" GtkObject : Read / Write "cursor_row" gint : Read / Write "cursor_col" gint : Read / Write |
"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); |
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); |
void user_function (ETableSelectionModel *etableselectionmodel, gint arg1, gint arg2, gpointer user_data); |
void user_function (ETableSelectionModel *etableselectionmodel, gpointer user_data); |