[gi] add missing annotations for signals that emit Gdk.Events

This commit is contained in:
John (J5) Palmieri 2011-03-03 16:05:28 -05:00
parent 57fa43d44b
commit cdf69b4bed
4 changed files with 13 additions and 10 deletions

View File

@ -176,7 +176,7 @@ gtk_clipboard_class_init (GtkClipboardClass *class)
/** /**
* GtkClipboard::owner-change: * GtkClipboard::owner-change:
* @clipboard: the #GtkClipboard on which the signal is emitted * @clipboard: the #GtkClipboard on which the signal is emitted
* @event: the @GdkEventOwnerChange event * @event: (type Gdk.EventOwnerChange): the @GdkEventOwnerChange event
* *
* The ::owner-change signal is emitted when GTK+ receives an * The ::owner-change signal is emitted when GTK+ receives an
* event that indicates that the ownership of the selection * event that indicates that the ownership of the selection

View File

@ -1603,7 +1603,7 @@ gtk_entry_class_init (GtkEntryClass *class)
* GtkEntry::icon-press: * GtkEntry::icon-press:
* @entry: The entry on which the signal is emitted * @entry: The entry on which the signal is emitted
* @icon_pos: The position of the clicked icon * @icon_pos: The position of the clicked icon
* @event: the button press event * @event: (type Gdk.EventButton): the button press event
* *
* The ::icon-press signal is emitted when an activatable icon * The ::icon-press signal is emitted when an activatable icon
* is clicked. * is clicked.
@ -1625,7 +1625,7 @@ gtk_entry_class_init (GtkEntryClass *class)
* GtkEntry::icon-release: * GtkEntry::icon-release:
* @entry: The entry on which the signal is emitted * @entry: The entry on which the signal is emitted
* @icon_pos: The position of the clicked icon * @icon_pos: The position of the clicked icon
* @event: the button release event * @event: (type Gdk.EventButton): the button release event
* *
* The ::icon-release signal is emitted on the button release from a * The ::icon-release signal is emitted on the button release from a
* mouse click over an activatable icon. * mouse click over an activatable icon.
@ -5880,7 +5880,7 @@ gtk_entry_reset_im_context (GtkEntry *entry)
/** /**
* gtk_entry_im_context_filter_keypress: * gtk_entry_im_context_filter_keypress:
* @entry: a #GtkEntry * @entry: a #GtkEntry
* @event: the key event * @event: (type Gdk.EventKey): the key event
* *
* Allow the #GtkEntry input method to internally handle key press * Allow the #GtkEntry input method to internally handle key press
* and release events. If this function returns %TRUE, then no further * and release events. If this function returns %TRUE, then no further

View File

@ -493,7 +493,8 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
/** /**
* GtkStatusIcon::button-press-event: * GtkStatusIcon::button-press-event:
* @status_icon: the object which received the signal * @status_icon: the object which received the signal
* @event: the #GdkEventButton which triggered this signal * @event: (type Gdk.EventButton): the #GdkEventButton which triggered
* this signal
* *
* The ::button-press-event signal will be emitted when a button * The ::button-press-event signal will be emitted when a button
* (typically from a mouse) is pressed. * (typically from a mouse) is pressed.
@ -519,7 +520,8 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
/** /**
* GtkStatusIcon::button-release-event: * GtkStatusIcon::button-release-event:
* @status_icon: the object which received the signal * @status_icon: the object which received the signal
* @event: the #GdkEventButton which triggered this signal * @event: (type Gdk.EventButton): the #GdkEventButton which triggered
* this signal
* *
* The ::button-release-event signal will be emitted when a button * The ::button-release-event signal will be emitted when a button
* (typically from a mouse) is released. * (typically from a mouse) is released.
@ -545,7 +547,8 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
/** /**
* GtkStatusIcon::scroll-event: * GtkStatusIcon::scroll-event:
* @status_icon: the object which received the signal. * @status_icon: the object which received the signal.
* @event: the #GdkEventScroll which triggered this signal * @event: (type Gdk.EventScroll): the #GdkEventScroll which triggered
* this signal
* *
* The ::scroll-event signal is emitted when a button in the 4 to 7 * The ::scroll-event signal is emitted when a button in the 4 to 7
* range is pressed. Wheel mice are usually configured to generate * range is pressed. Wheel mice are usually configured to generate

View File

@ -2287,7 +2287,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
/** /**
* GtkWidget::selection-notify-event: * GtkWidget::selection-notify-event:
* @widget: the object which received the signal. * @widget: the object which received the signal.
* @event: * @event: (type Gdk.EventSelection):
* *
* Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further. * Returns: %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.
*/ */
@ -2796,7 +2796,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
/** /**
* GtkWidget::damage-event: * GtkWidget::damage-event:
* @widget: the object which received the signal * @widget: the object which received the signal
* @event: the #GdkEventExpose event * @event: (type Gdk.EventExpose): the #GdkEventExpose event
* *
* Emitted when a redirected window belonging to @widget gets drawn into. * Emitted when a redirected window belonging to @widget gets drawn into.
* The region/area members of the event shows what area of the redirected * The region/area members of the event shows what area of the redirected
@ -2820,7 +2820,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
/** /**
* GtkWidget::grab-broken-event: * GtkWidget::grab-broken-event:
* @widget: the object which received the signal * @widget: the object which received the signal
* @event: the #GdkEventGrabBroken event * @event: (type Gdk.EventGrabBroken): the #GdkEventGrabBroken event
* *
* Emitted when a pointer or keyboard grab on a window belonging * Emitted when a pointer or keyboard grab on a window belonging
* to @widget gets broken. * to @widget gets broken.