OssoABookGroupSelector

OssoABookGroupSelector — Group selection widget

Synopsis




            OssoABookGroupSelector;
GtkWidget*  osso_abook_group_selector_new   (OssoABookGroupModel *model);
void        osso_abook_group_selector_select_all
                                            (OssoABookGroupSelector *selector);
void        osso_abook_group_selector_deselect_all
                                            (OssoABookGroupSelector *selector);
void        osso_abook_group_selector_select_group
                                            (OssoABookGroupSelector *selector,
                                             OssoABookGroup *group);
void        osso_abook_group_selector_deselect_group
                                            (OssoABookGroupSelector *selector,
                                             OssoABookGroup *group);


Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkScrolledWindow
                                 +----OssoABookGroupView
                                       +----OssoABookGroupSelector

Implemented Interfaces

OssoABookGroupSelector implements AtkImplementorIface.

Signal Prototypes


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

Description

OssoABookGroupSelector is a widget that displays the contents of an OssoABookGroupModel and allows the user to select them.

Details

OssoABookGroupSelector

typedef struct _OssoABookGroupSelector OssoABookGroupSelector;

There are no public fields in OssoABookGroupSelector.


osso_abook_group_selector_new ()

GtkWidget*  osso_abook_group_selector_new   (OssoABookGroupModel *model);

Creates a new OssoABookGroupSelector object exposing the contents of model.

model : An OssoABookGroupModel whose contents are to be exposed
Returns : A new OssoABookGroupSelector object.

osso_abook_group_selector_select_all ()

void        osso_abook_group_selector_select_all
                                            (OssoABookGroupSelector *selector);

Marks all rows as checked.

selector : An OssoABookGroupSelector

osso_abook_group_selector_deselect_all ()

void        osso_abook_group_selector_deselect_all
                                            (OssoABookGroupSelector *selector);

Deselects any checked rows.

selector : An OssoABookGroupSelector

osso_abook_group_selector_select_group ()

void        osso_abook_group_selector_select_group
                                            (OssoABookGroupSelector *selector,
                                             OssoABookGroup *group);

Marks the row associated with group as checked.

selector : An OssoABookGroupSelector
group : An OssoABookGroup

osso_abook_group_selector_deselect_group ()

void        osso_abook_group_selector_deselect_group
                                            (OssoABookGroupSelector *selector,
                                             OssoABookGroup *group);

Deselects the row associated with group.

selector : An OssoABookGroupSelector
group : An OssoABookGroup

Signals

The "extended-selection-changed" signal

void        user_function                  (OssoABookGroupSelector *ossoabookgroupselector,
                                            guint arg1,
                                            gpointer user_data);

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

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

OssoABookGroupModel, OssoABookGroupView, OssoABookGroup