OssoABookContactSelector

OssoABookContactSelector — Select contacts from a list

Synopsis




            OssoABookContactSelector;
GtkWidget*  osso_abook_contact_selector_new (OssoABookContactModel *model,
                                             OssoABookFilterModel *filter_model);
GtkWidget*  osso_abook_contact_selector_new_basic
                                            (OssoABookContactModel *model);


Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkScrolledWindow
                                 +----OssoABookTreeView
                                       +----OssoABookContactView
                                             +----OssoABookContactSelector

Implemented Interfaces

OssoABookContactSelector implements AtkImplementorIface.

Properties


  "checkbox-selection-only" gboolean              : Read / Write
  "maximum-selection"    guint                 : Read / Write
  "minimum-selection"    guint                 : Read / Write

Signal Prototypes


"extended-selection-changed"
            void        user_function      (OssoABookContactSelector *ossoabookcontactselector,
                                            guint arg1,
                                            gpointer user_data);

Description

OssoABookContactSelector is a widget that displays the contents of an OssoABookContactModel as a selectable list.

Details

OssoABookContactSelector

typedef struct _OssoABookContactSelector OssoABookContactSelector;

There are no public fields in OssoABookContactSelector.


osso_abook_contact_selector_new ()

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.

osso_abook_contact_selector_new_basic ()

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.

Properties

The "checkbox-selection-only" property

  "checkbox-selection-only" gboolean              : Read / Write

Only use the checkbox selection.

Default value: TRUE


The "maximum-selection" property

  "maximum-selection"    guint                 : Read / Write

The maximum number of rows to be selected.

Allowed values: >= 1

Default value: 4294967295


The "minimum-selection" property

  "minimum-selection"    guint                 : Read / Write

The minimum number of rows to be selected.

Default value: 0

Signals

The "extended-selection-changed" signal

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.

See Also

OssoABookContactModel, OssoABookContactView