OssoABookAccountSelector

OssoABookAccountSelector — Account selection widget.

Synopsis




            OssoABookAccountSelector;
GtkWidget*  osso_abook_account_selector_new (OssoABookAccountModel *model,
                                             OssoABookFilterModel *filter_model);


Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkScrolledWindow
                                 +----OssoABookTreeView
                                       +----OssoABookAccountView
                                             +----OssoABookAccountSelector

Implemented Interfaces

OssoABookAccountSelector 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      (OssoABookAccountSelector *ossoabookaccountselector,
                                            guint arg1,
                                            gpointer user_data);

Description

OssoABookAccountSelector is a widget that displays accounts and allows them to be selected.

Details

OssoABookAccountSelector

typedef struct _OssoABookAccountSelector OssoABookAccountSelector;

OssoABookAccountSelector has no publicly available members.


osso_abook_account_selector_new ()

GtkWidget*  osso_abook_account_selector_new (OssoABookAccountModel *model,
                                             OssoABookFilterModel *filter_model);

Creates a new OssoABookAccountSelector 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 OssoABookAccountSelector 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                  (OssoABookAccountSelector *ossoabookaccountselector,
                                            guint arg1,
                                            gpointer user_data);

The extended-selection-changed signal is emitted when the set of checked rows has changed.

ossoabookaccountselector : 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

OssoABookAccountModel, OssoABookAccountView