Osso Addressbook Reference Manual |
---|
OssoABookGroupViewOssoABookGroupView — Group view. |
OssoABookGroupView; GtkWidget* osso_abook_group_view_new (OssoABookGroupModel *model); OssoABookGroupModel* osso_abook_group_view_get_model (OssoABookGroupView *view); OssoABookGroup* osso_abook_group_view_get_focus (OssoABookGroupView *view); GtkTreeView* osso_abook_group_view_get_tree_view (OssoABookGroupView *view); void osso_abook_group_view_enable_drag_dest (OssoABookGroupView *view);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkScrolledWindow +----OssoABookGroupView +----OssoABookGroupSelector
"contacts-dropped" void user_function (OssoABookGroupView *ossoabookgroupview, OssoABookManualGroup *arg1, gpointer arg2, gpointer user_data); "group-activated" void user_function (OssoABookGroupView *ossoabookgroupview, OssoABookGroup *arg1, gpointer user_data); "group-selected" void user_function (OssoABookGroupView *ossoabookgroupview, OssoABookGroup *arg1, gpointer user_data); "insensitive-group-selected" void user_function (OssoABookGroupView *group_view, OssoABookGroup *group, gpointer user_data);
OssoABookGroupView is a widget that displays the contents of an OssoABookGroupModel in a list form.
typedef struct _OssoABookGroupView OssoABookGroupView;
There are no public fields in OssoABookGroupView.
GtkWidget* osso_abook_group_view_new (OssoABookGroupModel *model);
Creates a new OssoABookGroupView object exposing the contents of model
.
model : |
An OssoABookGroupModel whose contents are to be exposed |
Returns : | A new OssoABookGroupView object. |
OssoABookGroupModel* osso_abook_group_view_get_model (OssoABookGroupView *view);
Retreives the contained OssoABookGroupModel.
view : |
An OssoABookGroupView |
Returns : | The contained OssoABookGroupModel. |
OssoABookGroup* osso_abook_group_view_get_focus (OssoABookGroupView *view);
Retreives the OssoABookGroup whose row is focused, if any.
view : |
An OssoABookGroupView |
Returns : | The OssoABookGroup whose row is focused, or NULL. |
GtkTreeView* osso_abook_group_view_get_tree_view (OssoABookGroupView *view);
Retreives the contained GtkTreeView.
view : |
An OssoABookGroupView |
Returns : | The contained GtkTreeView |
void osso_abook_group_view_enable_drag_dest (OssoABookGroupView *view);
Turns view
into a drop destination for EContact UID drags. This enables
dropping of EContact UIDs into OssoABookManualGroup groups.
view : |
An OssoABookGroupView |
model
" property"model" GtkTreeModel : Read / Write / Construct Only
The OssoABookGroupModel whose contents are exposed.
void user_function (OssoABookGroupView *ossoabookgroupview, OssoABookManualGroup *arg1, gpointer arg2, gpointer user_data);
The contacts-dropped signal is emitted when one or more EContact UIDs have been dropped onto the widget.
ossoabookgroupview : |
the object which received the signal. |
arg1 : |
the OssoABookManualGroup the EContact UIDs were dropped into. |
arg2 : |
a GList of EContact UIDs. |
user_data : |
user data set when the signal handler was connected. |
void user_function (OssoABookGroupView *ossoabookgroupview, OssoABookGroup *arg1, gpointer user_data);
The group-activated signal is emitted when a group's row has been activated.
ossoabookgroupview : |
the object which received the signal. |
arg1 : |
The OssoABookGroup whose row was activated. |
user_data : |
user data set when the signal handler was connected. |
void user_function (OssoABookGroupView *ossoabookgroupview, OssoABookGroup *arg1, gpointer user_data);
The group-selected signal is emitted when a group's row has been selected.
ossoabookgroupview : |
the object which received the signal. |
arg1 : |
The OssoABookGroup whose row was selected. |
user_data : |
user data set when the signal handler was connected. |
void user_function (OssoABookGroupView *group_view, OssoABookGroup *group, gpointer user_data);
Callback to occur whenever an insensitive group has been clicked.
group_view : |
The OssoABookGroupView that emitted the callback. |
group : |
The OssoABookGroup that was clicked. |
user_data : |
user data set when the signal handler was connected. |
<< OssoABookGroupModel | OssoABookGroupSelector >> |