Osso Addressbook Reference Manual |
---|
OssoABookAccountViewOssoABookAccountView — View of an OssoABookAccountModel |
OssoABookAccountView; GtkWidget* osso_abook_account_view_new (OssoABookAccountModel *model, OssoABookFilterModel *filter_model); GtkWidget* osso_abook_account_view_new_basic (OssoABookAccountModel *model); GList* osso_abook_account_view_get_selection (OssoABookAccountView *view); OssoABookAccountModelTuple* osso_abook_account_view_get_focus (OssoABookAccountView *view); GtkWidget* osso_abook_account_view_new_no_contact_names (OssoABookAccountModel *model, OssoABookFilterModel *filter_model);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkScrolledWindow +----OssoABookTreeView +----OssoABookAccountView +----OssoABookAccountSelector
"selection-changed" void user_function (OssoABookAccountView *ossoabookaccountview, guint arg1, gpointer user_data); "tuple-activated" void user_function (OssoABookAccountView *ossoabookaccountview, OssoABookAccountModelTuple *arg1, gpointer user_data);
typedef struct _OssoABookAccountView OssoABookAccountView;
There are no public fields in OssoABookAccountView.
GtkWidget* osso_abook_account_view_new (OssoABookAccountModel *model, OssoABookFilterModel *filter_model);
Creates a new OssoABookAccountView object exposing the contents of model
,
as filtered by filter_model
(if non-NULL).
model : |
An OssoABookAccountModel whose contents are to be exposed |
filter_model : |
An OssoABookFilterModel filtering model , or NULL
|
Returns : | A new OssoABookAccountView object. |
GtkWidget* osso_abook_account_view_new_basic (OssoABookAccountModel *model);
Creates a new OssoABookAccountView object exposing the contents of model
,
as filtered through OssoABookAllGroup: all non-blocked contacts.
model : |
An OssoABookAccountModel whose contents are to be exposed |
Returns : | A new OssoABookAccountView object. |
GList* osso_abook_account_view_get_selection (OssoABookAccountView *view);
Retreives the set of selected rows as a GList of
OssoABookAccountModelTuple tuples. The returned GList should be freed
manually, but don't osso_abook_account_model_tuple_unref()
the elements.
view : |
An OssoABookAccountView |
Returns : | A newly allocated GList of OssoABookAccountModelTuple tuples. |
OssoABookAccountModelTuple* osso_abook_account_view_get_focus (OssoABookAccountView *view);
Retreives the OssoABookAccountModelTuple that is focused, if any.
view : |
An OssoABookAccountView |
Returns : | The OssoABookAccountModelTuple that is focused, or NULL. The
tuple is owned by libosso-abook and should not be
osso_abook_account_model_tuple_unref() 'ed.
|
GtkWidget* osso_abook_account_view_new_no_contact_names (OssoABookAccountModel *model, OssoABookFilterModel *filter_model);
Creates a new OssoABookAccountView object exposing the contents of model
,
as filtered by filter_model
(if non-NULL). Contact names are not shown.
model : |
An OssoABookAccountModel whose contents are to be exposed |
filter_model : |
An OssoABookFilterModel filtering model , or NULL
|
Returns : | A new OssoABookAccountView object. |
void user_function (OssoABookAccountView *ossoabookaccountview, guint arg1, gpointer user_data);
The selection-changed signal is emitted when the set of selected rows has changed.
ossoabookaccountview : |
the object which received the signal. |
arg1 : |
the number of selected rows. |
user_data : |
user data set when the signal handler was connected. |
void user_function (OssoABookAccountView *ossoabookaccountview, OssoABookAccountModelTuple *arg1, gpointer user_data);
The tuple-activated signal is emitted when a tuple's row has been activated.
ossoabookaccountview : |
the object which received the signal. |
arg1 : |
the OssoABookAccountModelTuple whose row was activated. |
user_data : |
user data set when the signal handler was connected. |
<< OssoABookAccountModel | OssoABookAccountSelector >> |