diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2004-03-15 01:32:20 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-03-15 01:32:20 +0000 |
commit | f2e252a2c26c589a3fdd13bf0606a25f7ae076eb (patch) | |
tree | 8075a181d12efc68bde479b1fe55bf02b6b452e0 /gtk/gtkentrycompletion.c | |
parent | 8312109e1ae92dd35810bab45abeb6ddf1b17e72 (diff) | |
download | gtk+-f2e252a2c26c589a3fdd13bf0606a25f7ae076eb.tar.gz |
Add some docs.
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r-- | gtk/gtkentrycompletion.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index f30cd30459..0ca623ac2a 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -174,6 +174,19 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass) object_class->get_property = gtk_entry_completion_get_property; object_class->finalize = gtk_entry_completion_finalize; + /** + * GtkEntryCompletion::match-selected: + * @widget: the object which received the signal + * @model: the #GtkTreeModel containing the matches + * @iter: a #GtkTreeIter positioned at the selected match + * + * The ::match-selected signal is emitted when a match from the list + * is selected. The default behaviour is to replace the contents of the + * entry with the contents of the text column in the row pointed to by + * @iter. + * + * Return value: %TRUE if the signal has been handled + */ entry_completion_signals[MATCH_SELECTED] = g_signal_new ("match_selected", G_TYPE_FROM_CLASS (klass), @@ -184,6 +197,15 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass) G_TYPE_BOOLEAN, 2, GTK_TYPE_TREE_MODEL, GTK_TYPE_TREE_ITER); + + /** + * GtkEntryCompletion::action-activated: + * @widget: the object which received the signal + * @index: the index of the activated action + * + * The ::action-activated signal is emitted when an action + * is activated. + */ entry_completion_signals[ACTION_ACTIVATED] = g_signal_new ("action_activated", G_TYPE_FROM_CLASS (klass), |