summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2011-06-29 14:53:33 -0400
committerJohn (J5) Palmieri <johnp@redhat.com>2011-06-29 14:54:25 -0400
commit9c4892f2915b9984bf8252d4bc93a864883d82c2 (patch)
tree16a75d57ceb3d422363946690ec73441ce9074ba /gtk/gtkdnd.c
parent8a11ea6dccc01e22c9a35c544859be00b3c55f06 (diff)
downloadgtk+-9c4892f2915b9984bf8252d4bc93a864883d82c2.tar.gz
[gi] add more annotations to force drag and drop api to be methods
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index eecd3c6794..a1f455fa5a 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -983,7 +983,7 @@ gtk_drag_update_cursor (GtkDragSourceInfo *info)
********************/
/**
- * gtk_drag_get_data:
+ * gtk_drag_get_data: (method)
* @widget: the widget that will receive the
* #GtkWidget::drag-data-received signal.
* @context: the drag context
@@ -1030,7 +1030,7 @@ gtk_drag_get_data (GtkWidget *widget,
/**
- * gtk_drag_get_source_widget:
+ * gtk_drag_get_source_widget: (method)
* @context: a (destination side) drag context
*
* Determines the source widget for a drag.
@@ -1066,7 +1066,7 @@ gtk_drag_get_source_widget (GdkDragContext *context)
}
/**
- * gtk_drag_finish:
+ * gtk_drag_finish: (method)
* @context: the drag context.
* @success: a flag indicating whether the drop was successful
* @del: a flag indicating whether the source should delete the
@@ -1157,7 +1157,7 @@ gtk_drag_highlight_draw (GtkWidget *widget,
}
/**
- * gtk_drag_highlight:
+ * gtk_drag_highlight: (method)
* @widget: a widget to highlight
*
* Draws a highlight around a widget. This will attach
@@ -1178,7 +1178,7 @@ gtk_drag_highlight (GtkWidget *widget)
}
/**
- * gtk_drag_unhighlight:
+ * gtk_drag_unhighlight: (method)
* @widget: a widget to remove the highlight from.
*
* Removes a highlight set by gtk_drag_highlight() from
@@ -1309,7 +1309,7 @@ gtk_drag_dest_set (GtkWidget *widget,
}
/**
- * gtk_drag_dest_set_proxy:
+ * gtk_drag_dest_set_proxy: (method)
* @widget: a #GtkWidget
* @proxy_window: the window to which to forward drag events
* @protocol: the drag protocol which the @proxy_window accepts
@@ -2661,7 +2661,7 @@ gtk_drag_source_set (GtkWidget *widget,
}
/**
- * gtk_drag_source_unset:
+ * gtk_drag_source_unset: (method)
* @widget: a #GtkWidget
*
* Undoes the effects of gtk_drag_source_set().
@@ -3074,7 +3074,7 @@ gtk_drag_set_icon_window (GdkDragContext *context,
}
/**
- * 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.
@@ -3225,7 +3225,7 @@ set_icon_stock_pixbuf (GdkDragContext *context,
}
/**
- * gtk_drag_set_icon_pixbuf:
+ * gtk_drag_set_icon_pixbuf: (method)
* @context: the context for a drag. (This must be called
* with a context for the source side of a drag)
* @pixbuf: the #GdkPixbuf to use as the drag icon.
@@ -3247,7 +3247,7 @@ gtk_drag_set_icon_pixbuf (GdkDragContext *context,
}
/**
- * gtk_drag_set_icon_stock:
+ * gtk_drag_set_icon_stock: (method)
* @context: the context for a drag. (This must be called
* with a context for the source side of a drag)
* @stock_id: the ID of the stock icon to use for the drag.
@@ -3306,7 +3306,7 @@ _gtk_cairo_surface_extents (cairo_surface_t *surface,
}
/**
- * gtk_drag_set_icon_surface:
+ * gtk_drag_set_icon_surface: (method)
* @context: the context for a drag. (This must be called
* with a context for the source side of a drag)
* @surface: the surface to use as icon
@@ -3396,7 +3396,7 @@ gtk_drag_set_icon_surface (GdkDragContext *context,
}
/**
- * gtk_drag_set_icon_name:
+ * gtk_drag_set_icon_name: (method)
* @context: the context for a drag. (This must be called
* with a context for the source side of a drag)
* @icon_name: name of icon to use
@@ -3428,7 +3428,7 @@ gtk_drag_set_icon_name (GdkDragContext *context,
}
/**
- * gtk_drag_set_icon_gicon:
+ * gtk_drag_set_icon_gicon: (method)
* @context: the context for a drag. (This must be called
* with a context for the source side of a drag)
* @icon: a #GIcon
@@ -3489,7 +3489,7 @@ gtk_drag_set_icon_gicon (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)
*