Osso Addressbook Reference Manual |
---|
OssoABookContactSelectorOssoABookContactSelector — Select contacts from a list |
OssoABookContactSelector; GtkWidget* osso_abook_contact_selector_new (OssoABookContactModel *model, OssoABookFilterModel *filter_model); GtkWidget* osso_abook_contact_selector_new_basic (OssoABookContactModel *model);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkScrolledWindow +----OssoABookTreeView +----OssoABookContactView +----OssoABookContactSelector
"checkbox-selection-only" gboolean : Read / Write "maximum-selection" guint : Read / Write "minimum-selection" guint : Read / Write
"extended-selection-changed" void user_function (OssoABookContactSelector *ossoabookcontactselector, guint arg1, gpointer user_data);
OssoABookContactSelector is a widget that displays the contents of an OssoABookContactModel as a selectable list.
typedef struct _OssoABookContactSelector OssoABookContactSelector;
There are no public fields in OssoABookContactSelector.
GtkWidget* osso_abook_contact_selector_new (OssoABookContactModel *model, OssoABookFilterModel *filter_model);
Creates a new OssoABookContactSelector object exposing the contents of
model
, as filtered by filter_model
(if non-NULL).
model : |
An OssoABookContactModel whose contents are to be exposed |
filter_model : |
An OssoABookFilterModel filtering model , or NULL
|
Returns : | A new OssoABookContactSelector object. |
GtkWidget* osso_abook_contact_selector_new_basic (OssoABookContactModel *model);
Creates a new OssoABookContactSelector object exposing the contents of
model
, as filtered through OssoABookAllGroup: all non-blocked contacts.
model : |
An OssoABookContactModel whose contents are to be exposed |
Returns : | A new OssoABookContactSelector object. |
checkbox-selection-only
" property"checkbox-selection-only" gboolean : Read / Write
Only use the checkbox selection.
Default value: TRUE
maximum-selection
" property"maximum-selection" guint : Read / Write
The maximum number of rows to be selected.
Allowed values: >= 1
Default value: 4294967295
void user_function (OssoABookContactSelector *ossoabookcontactselector, guint arg1, gpointer user_data);
The extended-selection-changed signal is emitted when the set of checked rows has changed.
ossoabookcontactselector : |
the object which received the signal. |
arg1 : |
the number of checked rows. |
user_data : |
user data set when the signal handler was connected. |
<< OssoABookContactView | OssoABookGroupModel >> |