Osso Addressbook Reference Manual |
---|
OssoABookSelectDialogOssoABookSelectDialog — Select a contact dialog. |
OssoABookSelectDialog; GtkWidget* osso_abook_select_dialog_new (OssoABookTreeView *tree_view); GtkWidget* osso_abook_select_dialog_new_no_alpha (OssoABookTreeView *tree_view); gboolean osso_abook_select_dialog_get_new_contact (OssoABookSelectDialog *dialog); void osso_abook_select_dialog_set_new_contact (OssoABookSelectDialog *dialog, gboolean show_new_contact); OssoABookTreeView* osso_abook_select_dialog_get_tree_view (OssoABookSelectDialog *dialog);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----OssoABookSelectDialog
"tree-view" OssoABookTreeView : Read / Write / Construct Only "want-alpha-bar" gboolean : Write / Construct Only "want-new-contact" gboolean : Read / Write / Construct
"ok-insensitive-press" gboolean user_function (OssoABookSelectDialog *dialog, gpointer user_data);
OssoABookSelectDialog is a dialog that shows the use a list of contacts and allows them to select from that list.
typedef struct _OssoABookSelectDialog OssoABookSelectDialog;
There are no public fields in OssoABookSelectDialog.
GtkWidget* osso_abook_select_dialog_new (OssoABookTreeView *tree_view);
Creates a new OssoABookSelectDialog exposing tree_view
.
The dialog will respond with GTK_RESPONSE_OK if the "OK" button was
clicked, with GTK_RESPONSE_CANCEL otherwise.
tree_view : |
An OssoABookTreeView |
Returns : | A new OssoABookSelectDialog object. |
GtkWidget* osso_abook_select_dialog_new_no_alpha (OssoABookTreeView *tree_view);
Creates a new OssoABookSelectDialog exposing tree_view
, but without
an OssoABookAlphaBar.
The dialog will respond with GTK_RESPONSE_OK if the "OK" button was
clicked, with GTK_RESPONSE_CANCEL otherwise.
tree_view : |
An OssoABookTreeView |
Returns : | A new OssoABookSelectDialog object. |
gboolean osso_abook_select_dialog_get_new_contact (OssoABookSelectDialog *dialog);
Retreives whether the New Contact button should be shown or not.
dialog : |
An OssoABookSelectDialog |
Returns : | A gboolean. |
void osso_abook_select_dialog_set_new_contact (OssoABookSelectDialog *dialog, gboolean show_new_contact);
Sets whether the dialog should show a New Contact button or not. This defaults to FALSE.
dialog : |
An OssoABookSelectDialog |
show_new_contact : |
A gboolean |
OssoABookTreeView* osso_abook_select_dialog_get_tree_view (OssoABookSelectDialog *dialog);
Retreives the contained OssoABookTreeView.
dialog : |
An OssoABookSelectDialog |
Returns : | An OssoABookTreeView. |
tree-view
" property"tree-view" OssoABookTreeView : Read / Write / Construct Only
The exposed OssoABookTreeView.
want-alpha-bar
" property"want-alpha-bar" gboolean : Write / Construct Only
TRUE if the dialog should contain an alpha bar.
Default value: TRUE
gboolean user_function (OssoABookSelectDialog *dialog, gpointer user_data);
Callback to occur whenever OK is insensitive and was clicked.
dialog : |
The OssoABookSelectDialog that emitted the callback |
user_data : |
user data set when the signal handler was connected. |
Returns : | TRUE if the callback handled it, FALSE otherwise. |
<< OssoABookRequestAuthDialog | Groups >> |