aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2010-02-22 15:17:17 +0000
committerAlberto Garcia <agarcia@igalia.com>2010-02-22 16:17:31 +0100
commitafb8f0ba7200bc62c8da695354c76dc39350de94 (patch)
tree9a262ed0163bd837e7bc2b67d08a41fe251cffdb
parent18e7da0c557380fd4ce6aa19f32a3397ac37da36 (diff)
Update HildonPickerDialog documentation
Explain that the dialog emits GtkDialog::response when a selection is completed
-rw-r--r--hildon/hildon-picker-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hildon/hildon-picker-dialog.c b/hildon/hildon-picker-dialog.c
index 01cf759..35bcf58 100644
--- a/hildon/hildon-picker-dialog.c
+++ b/hildon/hildon-picker-dialog.c
@@ -31,6 +31,10 @@
* button can be set using hildon_picker_dialog_set_done_label() and
* retrieved using hildon_picker_dialog_get_done_label()
*
+ * #HildonPickerDialog will emit #GtkDialog::response when a selection
+ * is completed, with the response id set to #GTK_RESPONSE_OK (or
+ * #GTK_RESPONSE_DELETE_EVENT if the selection was cancelled).
+ *
* Note that in most cases developers don't need to deal directly with
* this widget. #HildonPickerButton is designed to pop up a
* #HildonPickerDialog and manage the interaction with it.