Commit 295c2fe8 authored by Laszlo Pandy's avatar Laszlo Pandy

[GI] Add method annotations to remaining gtk_drag_* functions.

https://bugzilla.gnome.org/show_bug.cgi?id=639945
parent d799d6d4
...@@ -959,17 +959,15 @@ gtk_drag_update_cursor (GtkDragSourceInfo *info) ...@@ -959,17 +959,15 @@ gtk_drag_update_cursor (GtkDragSourceInfo *info)
* Destination side * * Destination side *
********************/ ********************/
/************************************************************* /**
* gtk_drag_get_data: * gtk_drag_get_data: (method)
* Get the data for a drag or drop * @widget: a #GtkWidget
* arguments: * @context: drag context
* context - drag context * @target: format to retrieve the data in.
* target - format to retrieve the data in. * @time: timestamp of triggering event.
* time - timestamp of triggering event.
* *
* results: * Get the data for a drag or drop
*************************************************************/ */
void void
gtk_drag_get_data (GtkWidget *widget, gtk_drag_get_data (GtkWidget *widget,
GdkDragContext *context, GdkDragContext *context,
...@@ -1125,14 +1123,12 @@ gtk_drag_highlight_draw (GtkWidget *widget, ...@@ -1125,14 +1123,12 @@ gtk_drag_highlight_draw (GtkWidget *widget,
return FALSE; return FALSE;
} }
/************************************************************* /**
* gtk_drag_highlight: * gtk_drag_highlight: (method)
* @widget: a #GtkWidget
*
* Highlight the given widget in the default manner. * Highlight the given widget in the default manner.
* arguments: */
* widget:
* results:
*************************************************************/
void void
gtk_drag_highlight (GtkWidget *widget) gtk_drag_highlight (GtkWidget *widget)
{ {
...@@ -1145,14 +1141,12 @@ gtk_drag_highlight (GtkWidget *widget) ...@@ -1145,14 +1141,12 @@ gtk_drag_highlight (GtkWidget *widget)
gtk_widget_queue_draw (widget); gtk_widget_queue_draw (widget);
} }
/************************************************************* /**
* gtk_drag_unhighlight: * gtk_drag_unhighlight: (method)
* @widget: a #GtkWidget
*
* Refresh the given widget to remove the highlight. * Refresh the given widget to remove the highlight.
* arguments: */
* widget:
* results:
*************************************************************/
void void
gtk_drag_unhighlight (GtkWidget *widget) gtk_drag_unhighlight (GtkWidget *widget)
{ {
...@@ -1277,19 +1271,17 @@ gtk_drag_dest_set (GtkWidget *widget, ...@@ -1277,19 +1271,17 @@ gtk_drag_dest_set (GtkWidget *widget,
gtk_drag_dest_set_internal (widget, site); gtk_drag_dest_set_internal (widget, site);
} }
/************************************************************* /**
* gtk_drag_dest_set_proxy: (method) * gtk_drag_dest_set_proxy: (method)
* Set up this widget to proxy drags elsewhere. * @widget: a #GtkWidget
* arguments: * @proxy_window: window to which forward drag events
* widget: * @protocol: Drag protocol which the dest widget accepts
* proxy_window: window to which forward drag events * @use_coordinates: If true, send the same coordinates to the
* protocol: Drag protocol which the dest widget accepts
* use_coordinates: If true, send the same coordinates to the
* destination, because it is a embedded * destination, because it is a embedded
* subwindow. * subwindow.
* results: *
*************************************************************/ * Set up this widget to proxy drags elsewhere.
*/
void void
gtk_drag_dest_set_proxy (GtkWidget *widget, gtk_drag_dest_set_proxy (GtkWidget *widget,
GdkWindow *proxy_window, GdkWindow *proxy_window,
...@@ -1318,14 +1310,12 @@ gtk_drag_dest_set_proxy (GtkWidget *widget, ...@@ -1318,14 +1310,12 @@ gtk_drag_dest_set_proxy (GtkWidget *widget,
gtk_drag_dest_set_internal (widget, site); gtk_drag_dest_set_internal (widget, site);
} }
/************************************************************* /**
* gtk_drag_dest_unset: (method) * gtk_drag_dest_unset: (method)
* @widget: a #GtkWidget
*
* Unregister this widget as a drag target. * Unregister this widget as a drag target.
* arguments: */
* widget:
* results:
*************************************************************/
void void
gtk_drag_dest_unset (GtkWidget *widget) gtk_drag_dest_unset (GtkWidget *widget)
{ {
...@@ -1541,7 +1531,7 @@ gtk_drag_dest_get_track_motion (GtkWidget *widget) ...@@ -1541,7 +1531,7 @@ gtk_drag_dest_get_track_motion (GtkWidget *widget)
} }
/************************************************************* /*************************************************************
* _gtk_drag_dest_handle_event: (method) * _gtk_drag_dest_handle_event:
* Called from widget event handling code on Drag events * Called from widget event handling code on Drag events
* for destinations. * for destinations.
* *
...@@ -4363,7 +4353,7 @@ gtk_drag_abort_timeout (gpointer data) ...@@ -4363,7 +4353,7 @@ gtk_drag_abort_timeout (gpointer data)
} }
/** /**
* gtk_drag_check_threshold: * gtk_drag_check_threshold: (method)
* @widget: a #GtkWidget * @widget: a #GtkWidget
* @start_x: X coordinate of start of drag * @start_x: X coordinate of start of drag
* @start_y: Y coordinate of start of drag * @start_y: Y coordinate of start of drag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment