| Evolution API Reference: libedataserverui, graphical utility library | ||||
|---|---|---|---|---|
typedef EDestinationStore; enum EDestinationStoreColumnType; EDestinationStore* e_destination_store_new (void); EDestination* e_destination_store_get_destination (EDestinationStore *destination_store, GtkTreeIter *iter); GList* e_destination_store_list_destinations (EDestinationStore *destination_store); void e_destination_store_insert_destination (EDestinationStore *destination_store, gint index, EDestination *destination); void e_destination_store_append_destination (EDestinationStore *destination_store, EDestination *destination); void e_destination_store_remove_destination (EDestinationStore *destination_store, EDestination *destination); void e_destination_store_remove_destination_nth (EDestinationStore *destination_store, int n); guint e_destination_store_get_destination_count (EDestinationStore *destination_store); GtkTreePath* e_destination_store_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter);
typedef enum
{
E_DESTINATION_STORE_COLUMN_NAME,
E_DESTINATION_STORE_COLUMN_EMAIL,
E_DESTINATION_STORE_COLUMN_ADDRESS,
E_DESTINATION_STORE_NUM_COLUMNS
}
EDestinationStoreColumnType;
EDestinationStore* e_destination_store_new (void);
Creates a new EDestinationStore.
| Returns : | A new EDestinationStore. |
EDestination* e_destination_store_get_destination (EDestinationStore *destination_store, GtkTreeIter *iter);
Gets the EDestination from destination_store at iter.
destination_store : |
an EDestinationStore |
iter : |
a GtkTreeIter |
| Returns : | An EDestination. |
GList* e_destination_store_list_destinations (EDestinationStore *destination_store);
Gets a list of all the EDestinations in destination_store.
destination_store : |
an EDestinationStore |
| Returns : | A GList of pointers to EDestination. The list is owned by the caller, but the EDestination elements aren't. |
void e_destination_store_insert_destination
(EDestinationStore *destination_store,
gint index,
EDestination *destination);
Inserts destination into destination_store at the position
indicated by index. destination_store will ref destination.
destination_store : |
an EDestinationStore |
index : |
the index at which to insert |
destination : |
an EDestination to insert |
void e_destination_store_append_destination
(EDestinationStore *destination_store,
EDestination *destination);
Appends destination to the list of destinations in destination_store.
destination_store will ref destination.
destination_store : |
an EDestinationStore |
destination : |
an EDestination |
void e_destination_store_remove_destination
(EDestinationStore *destination_store,
EDestination *destination);
Removes destination from destination_store. destination_store will
unref destination.
destination_store : |
an EDestinationStore |
destination : |
an EDestination to remove |
void e_destination_store_remove_destination_nth
(EDestinationStore *destination_store,
int n);
destination_store : |
|
n : |
guint e_destination_store_get_destination_count (EDestinationStore *destination_store);
destination_store : |
|
| Returns : |
GtkTreePath* e_destination_store_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter);
tree_model : |
|
iter : |
|
| Returns : |