diff options
Diffstat (limited to 'gtk/gtkdnd-quartz.c')
-rw-r--r-- | gtk/gtkdnd-quartz.c | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c index 9967ef7983..a9272984e4 100644 --- a/gtk/gtkdnd-quartz.c +++ b/gtk/gtkdnd-quartz.c @@ -334,6 +334,8 @@ gtk_drag_clear_source_info (GdkDragContext *context) /** * gtk_drag_get_source_widget: (method) * @context: a (destination side) drag context + * + * Returns: (transfer none): */ GtkWidget * gtk_drag_get_source_widget (GdkDragContext *context) @@ -1066,6 +1068,8 @@ _gtk_drag_dest_handle_event (GtkWidget *toplevel, * @context: drag context * @target_list: (allow-none): list of droppable targets, or %NULL to use * gtk_drag_dest_get_target_list (@widget). + * + * Returns: (transfer none): */ GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, @@ -1324,6 +1328,18 @@ gtk_drag_begin_internal (GtkWidget *widget, return context; } +/** + * gtk_drag_begin_with_coordinates: (method) + * @widget: + * @targets: + * @actions: + * @button: + * @event: + * @x: + * @y: + * + * Returns: (transfer none): + */ GdkDragContext * gtk_drag_begin_with_coordinates (GtkWidget *widget, GtkTargetList *targets, @@ -1348,6 +1364,8 @@ gtk_drag_begin_with_coordinates (GtkWidget *widget, * @actions: A bitmask of the allowed drag actions for this drag. * @button: The button the user clicked to start the drag. * @event: The event that triggered the start of the drag. + * + * Returns: (transfer none): */ GdkDragContext * gtk_drag_begin (GtkWidget *widget, @@ -1508,6 +1526,8 @@ gtk_drag_source_unset (GtkWidget *widget) /** * gtk_drag_source_get_target_list: (method) * @widget: a #GtkWidget + * + * Returns: (transfer none): */ GtkTargetList * gtk_drag_source_get_target_list (GtkWidget *widget) @@ -1553,7 +1573,7 @@ gtk_drag_source_set_target_list (GtkWidget *widget, } /** - * gtk_drag_source_add_text_targets: + * gtk_drag_source_add_text_targets: (method) * @widget: a #GtkWidget that’s is a drag source * * Add the text targets supported by #GtkSelection to @@ -1677,7 +1697,7 @@ gtk_drag_source_set_icon_pixbuf (GtkWidget *widget, } /** - * gtk_drag_source_set_icon_stock: + * gtk_drag_source_set_icon_stock: (method) * @widget: a #GtkWidget * @stock_id: the ID of the stock icon to use * @@ -1703,7 +1723,7 @@ gtk_drag_source_set_icon_stock (GtkWidget *widget, } /** - * gtk_drag_source_set_icon_name: + * gtk_drag_source_set_icon_name: (method) * @widget: a #GtkWidget * @icon_name: name of icon to use * @@ -1732,7 +1752,7 @@ gtk_drag_source_set_icon_name (GtkWidget *widget, /** - * gtk_drag_set_icon_widget: + * gtk_drag_set_icon_widget: (method) * @context: the context for a drag. (This must be called with a context for the source side of a drag) * @widget: a toplevel window to use as an icon. @@ -1960,7 +1980,7 @@ gtk_drag_set_icon_name (GdkDragContext *context, } /** - * gtk_drag_set_icon_default: + * gtk_drag_set_icon_default: (method) * @context: the context for a drag. (This must be called with a context for the source side of a drag) * |