diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-20 18:17:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-05 15:38:47 -0400 |
commit | 20c8c8b91cf2719249a729492ec84b7282dc03fb (patch) | |
tree | d53cf50689bceedbea093895d0e51a7c204cef76 /gtk/gtkdnd.h | |
parent | 8470eb84c080718120b5daf130db744bf6ec220b (diff) | |
download | gtk+-20c8c8b91cf2719249a729492ec84b7282dc03fb.tar.gz |
Add annotations to gtk headers
Add annotations to all exported functions in GTK+ headers.
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r-- | gtk/gtkdnd.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h index 3a2b4c27cd..408320b82f 100644 --- a/gtk/gtkdnd.h +++ b/gtk/gtkdnd.h @@ -89,68 +89,94 @@ typedef enum { /* Destination side */ +GDK_AVAILABLE_IN_ALL void gtk_drag_get_data (GtkWidget *widget, GdkDragContext *context, GdkAtom target, guint32 time_); +GDK_AVAILABLE_IN_ALL void gtk_drag_finish (GdkDragContext *context, gboolean success, gboolean del, guint32 time_); +GDK_AVAILABLE_IN_ALL GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context); +GDK_AVAILABLE_IN_ALL void gtk_drag_highlight (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_unhighlight (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_set (GtkWidget *widget, GtkDestDefaults flags, const GtkTargetEntry *targets, gint n_targets, GdkDragAction actions); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_set_proxy (GtkWidget *widget, GdkWindow *proxy_window, GdkDragProtocol protocol, gboolean use_coordinates); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_unset (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, GdkDragContext *context, GtkTargetList *target_list); +GDK_AVAILABLE_IN_ALL GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_set_target_list (GtkWidget *widget, GtkTargetList *target_list); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_add_text_targets (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_add_image_targets (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_add_uri_targets (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_dest_set_track_motion (GtkWidget *widget, gboolean track_motion); +GDK_AVAILABLE_IN_ALL gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget); /* Source side */ +GDK_AVAILABLE_IN_ALL void gtk_drag_source_set (GtkWidget *widget, GdkModifierType start_button_mask, const GtkTargetEntry *targets, gint n_targets, GdkDragAction actions); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_unset (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_set_target_list (GtkWidget *widget, GtkTargetList *target_list); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_add_text_targets (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_add_image_targets (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_add_uri_targets (GtkWidget *widget); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget, GdkPixbuf *pixbuf); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_set_icon_stock (GtkWidget *widget, const gchar *stock_id); +GDK_AVAILABLE_IN_ALL void gtk_drag_source_set_icon_name (GtkWidget *widget, const gchar *icon_name); GDK_AVAILABLE_IN_3_2 @@ -161,6 +187,7 @@ void gtk_drag_source_set_icon_gicon (GtkWidget *widget, * as a GtkTargetList */ +GDK_AVAILABLE_IN_ALL GdkDragContext *gtk_drag_begin (GtkWidget *widget, GtkTargetList *targets, GdkDragAction actions, @@ -169,20 +196,25 @@ GdkDragContext *gtk_drag_begin (GtkWidget *widget, /* Set the image being dragged around */ +GDK_AVAILABLE_IN_ALL void gtk_drag_set_icon_widget (GdkDragContext *context, GtkWidget *widget, gint hot_x, gint hot_y); +GDK_AVAILABLE_IN_ALL void gtk_drag_set_icon_pixbuf (GdkDragContext *context, GdkPixbuf *pixbuf, gint hot_x, gint hot_y); +GDK_AVAILABLE_IN_ALL void gtk_drag_set_icon_stock (GdkDragContext *context, const gchar *stock_id, gint hot_x, gint hot_y); +GDK_AVAILABLE_IN_ALL void gtk_drag_set_icon_surface(GdkDragContext *context, cairo_surface_t *surface); +GDK_AVAILABLE_IN_ALL void gtk_drag_set_icon_name (GdkDragContext *context, const gchar *icon_name, gint hot_x, @@ -193,8 +225,10 @@ void gtk_drag_set_icon_gicon (GdkDragContext *context, gint hot_x, gint hot_y); +GDK_AVAILABLE_IN_ALL void gtk_drag_set_icon_default (GdkDragContext *context); +GDK_AVAILABLE_IN_ALL gboolean gtk_drag_check_threshold (GtkWidget *widget, gint start_x, gint start_y, |