|  |  |  | Evolution Utilities Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
enum ECursorMode; struct ESelectionModel; void e_selection_model_do_something (ESelectionModel *model,guint row,guint col,GdkModifierType state); gboolean e_selection_model_maybe_do_something (ESelectionModel *model,guint row,guint col,GdkModifierType state); void e_selection_model_right_click_down (ESelectionModel *model,guint row,guint col,GdkModifierType state); void e_selection_model_right_click_up (ESelectionModel *model); gboolean e_selection_model_key_press (ESelectionModel *model,GdkEventKey *key); void e_selection_model_select_as_key_press (ESelectionModel *model,guint row,guint col,GdkModifierType state); gboolean e_selection_model_is_row_selected (ESelectionModel *model,gint n); void e_selection_model_foreach (ESelectionModel *model,EForeachFunc callback,gpointer closure); void e_selection_model_clear (ESelectionModel *model); gint e_selection_model_selected_count (ESelectionModel *model); void e_selection_model_select_all (ESelectionModel *model); gint e_selection_model_row_count (ESelectionModel *model); void e_selection_model_change_one_row (ESelectionModel *model,gint row,gboolean on); void e_selection_model_change_cursor (ESelectionModel *model,gint row,gint col); gint e_selection_model_cursor_row (ESelectionModel *model); gint e_selection_model_cursor_col (ESelectionModel *model); void e_selection_model_select_single_row (ESelectionModel *model,gint row); void e_selection_model_toggle_single_row (ESelectionModel *model,gint row); void e_selection_model_move_selection_end (ESelectionModel *model,gint row); void e_selection_model_set_selection_end (ESelectionModel *model,gint row); void e_selection_model_cursor_changed (ESelectionModel *model,gint row,gint col); void e_selection_model_cursor_activated (ESelectionModel *model,gint row,gint col); void e_selection_model_selection_row_changed (ESelectionModel *model,gint row); void e_selection_model_selection_changed (ESelectionModel *model);
"cursor-mode" gint : Read / Write "selection-mode" gint : Read / Write "sorter" ESorter* : Read / Write
"cursor-activated" :Run Last"cursor-changed" :Run Last"selection-changed" :Run Last"selection-row-changed" :Run Last
void e_selection_model_do_something (ESelectionModel *model,guint row,guint col,GdkModifierType state);
This routine does whatever is appropriate as if the user clicked the mouse in the given row and column.
| 
 | ESelectionModel to do something to. | 
| 
 | The row to do something in. | 
| 
 | The col to do something in. | 
| 
 | The state in which to do something. | 
gboolean e_selection_model_maybe_do_something (ESelectionModel *model,guint row,guint col,GdkModifierType state);
If this row is selected, this routine just moves the cursor row and
column.  Otherwise, it does the same thing as
e_selection_model_do_something().  This is for being used on
right clicks and other events where if the user hit the selection,
they don't want it to change.
| 
 | ESelectionModel to do something to. | 
| 
 | The row to do something in. | 
| 
 | The col to do something in. | 
| 
 | The state in which to do something. | 
void e_selection_model_right_click_down (ESelectionModel *model,guint row,guint col,GdkModifierType state);
gboolean e_selection_model_key_press (ESelectionModel *model,GdkEventKey *key);
This routine does whatever is appropriate as if the user pressed the given key.
| 
 | ESelectionModel to affect. | 
| 
 | The event. | 
| Returns : | TRUEif the ESelectionModel used the key. | 
void e_selection_model_select_as_key_press (ESelectionModel *model,guint row,guint col,GdkModifierType state);
gboolean e_selection_model_is_row_selected (ESelectionModel *model,gint n);
This routine calculates whether the given row is selected.
| 
 | ESelectionModel to check | 
| 
 | The row to check | 
| Returns : | TRUEif the given row is selected | 
void e_selection_model_foreach (ESelectionModel *model,EForeachFunc callback,gpointer closure);
This routine calls the given callback function once for each selected row, passing closure as the closure.
| 
 | ESelectionModel to traverse | 
| 
 | The callback function to call back. | 
| 
 | The closure | 
void                e_selection_model_clear             (ESelectionModel *model);
This routine clears the selection to no rows selected.
| 
 | ESelectionModel to clear | 
gint                e_selection_model_selected_count    (ESelectionModel *model);
This routine calculates the number of rows selected.
| 
 | ESelectionModel to count | 
| Returns : | The number of rows selected in the given model. | 
void                e_selection_model_select_all        (ESelectionModel *model);
This routine selects all the rows in the given ESelectionModel.
| 
 | ESelectionModel to select all | 
void e_selection_model_change_one_row (ESelectionModel *model,gint row,gboolean on);
void e_selection_model_change_cursor (ESelectionModel *model,gint row,gint col);
void e_selection_model_select_single_row (ESelectionModel *model,gint row);
void e_selection_model_toggle_single_row (ESelectionModel *model,gint row);
void e_selection_model_move_selection_end (ESelectionModel *model,gint row);
void e_selection_model_set_selection_end (ESelectionModel *model,gint row);
void e_selection_model_cursor_changed (ESelectionModel *model,gint row,gint col);
void e_selection_model_cursor_activated (ESelectionModel *model,gint row,gint col);
void e_selection_model_selection_row_changed (ESelectionModel *model,gint row);
void                e_selection_model_selection_changed (ESelectionModel *model);
"selection-mode" property"selection-mode" gint : Read / Write
Allowed values: [0,3]
Default value: 1
"cursor-activated" signalvoid                user_function                      (ESelectionModel *eselectionmodel,
                                                        gint             arg1,
                                                        gint             arg2,
                                                        gpointer         user_data)            : Run Last
"cursor-changed" signalvoid                user_function                      (ESelectionModel *eselectionmodel,
                                                        gint             arg1,
                                                        gint             arg2,
                                                        gpointer         user_data)            : Run Last
"selection-changed" signalvoid                user_function                      (ESelectionModel *eselectionmodel,
                                                        gpointer         user_data)            : Run Last
"selection-row-changed" signalvoid                user_function                      (ESelectionModel *eselectionmodel,
                                                        gint             arg1,
                                                        gpointer         user_data)            : Run Last