From 7b877899fdfc91637769055d8552f5a5bc0bb628 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 21 Mar 2007 07:29:52 +0000 Subject: [PATCH] Document the ::event signal (#420703). 2007-03-21 Ross Burton * gtk/gtktexttag.c: Document the ::event signal (#420703). svn path=/trunk/; revision=17547 --- ChangeLog | 5 +++++ gtk/gtktexttag.c | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ba24fd110..0e3d298ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-21 Ross Burton + + * gtk/gtktexttag.c: + Document the ::event signal (#420703). + 2007-03-20 Kristian Rietveld * gtk/gtktreeviewcolumn.c: diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c index 3746f5704..c1e42ec76 100644 --- a/gtk/gtktexttag.c +++ b/gtk/gtktexttag.c @@ -649,7 +649,20 @@ gtk_text_tag_class_init (GtkTextTagClass *klass) ADD_SET_PROP ("paragraph-background-set", PROP_PARAGRAPH_BACKGROUND_SET, P_("Paragraph background set"), P_("Whether this tag affects the paragraph background color")); - + + /** + * GtkTextTag::event: + * @tag: the #GtkTextTag on which the signal is emitted + * @object: the object the event was fired from (typically a #GtkTextView) + * @event: the event which triggered the signal + * @iter: a #GtkTextIter pointing at the location the event occured + * + * The ::event signal is emitted when an event occurs on a region of the + * buffer marked with this tag. + * + * Returns: %TRUE to stop other handlers from being invoked for the + * event. %FALSE to propagate the event further. + */ signals[EVENT] = g_signal_new (I_("event"), G_OBJECT_CLASS_TYPE (object_class), -- 2.43.2