Ardour  9.0-pre0-582-g084a23a80d
gtkdnd.h File Reference
#include <gtk/gtkwidget.h>
#include <gtk/gtkselection.h>
Include dependency graph for gtkdnd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  GtkDestDefaults { GTK_DEST_DEFAULT_MOTION = 1 << 0 , GTK_DEST_DEFAULT_HIGHLIGHT = 1 << 1 , GTK_DEST_DEFAULT_DROP = 1 << 2 , GTK_DEST_DEFAULT_ALL = 0x07 }
 
enum  GtkTargetFlags { GTK_TARGET_SAME_APP = 1 << 0 , GTK_TARGET_SAME_WIDGET = 1 << 1 , GTK_TARGET_OTHER_APP = 1 << 2 , GTK_TARGET_OTHER_WIDGET = 1 << 3 }
 

Functions

void gtk_drag_get_data (GtkWidget *widget, GdkDragContext *context, GdkAtom target, guint32 time_)
 
void gtk_drag_finish (GdkDragContext *context, gboolean success, gboolean del, guint32 time_)
 
GtkWidgetgtk_drag_get_source_widget (GdkDragContext *context)
 
void gtk_drag_highlight (GtkWidget *widget)
 
void gtk_drag_unhighlight (GtkWidget *widget)
 
void gtk_drag_dest_set (GtkWidget *widget, GtkDestDefaults flags, const GtkTargetEntry *targets, gint n_targets, GdkDragAction actions)
 
void gtk_drag_dest_set_proxy (GtkWidget *widget, GdkWindow *proxy_window, GdkDragProtocol protocol, gboolean use_coordinates)
 
void gtk_drag_dest_unset (GtkWidget *widget)
 
GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, GdkDragContext *context, GtkTargetList *target_list)
 
GtkTargetListgtk_drag_dest_get_target_list (GtkWidget *widget)
 
void gtk_drag_dest_set_target_list (GtkWidget *widget, GtkTargetList *target_list)
 
void gtk_drag_dest_add_text_targets (GtkWidget *widget)
 
void gtk_drag_dest_add_image_targets (GtkWidget *widget)
 
void gtk_drag_dest_add_uri_targets (GtkWidget *widget)
 
void gtk_drag_dest_set_track_motion (GtkWidget *widget, gboolean track_motion)
 
gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget)
 
void gtk_drag_source_set (GtkWidget *widget, GdkModifierType start_button_mask, const GtkTargetEntry *targets, gint n_targets, GdkDragAction actions)
 
void gtk_drag_source_unset (GtkWidget *widget)
 
GtkTargetListgtk_drag_source_get_target_list (GtkWidget *widget)
 
void gtk_drag_source_set_target_list (GtkWidget *widget, GtkTargetList *target_list)
 
void gtk_drag_source_add_text_targets (GtkWidget *widget)
 
void gtk_drag_source_add_image_targets (GtkWidget *widget)
 
void gtk_drag_source_add_uri_targets (GtkWidget *widget)
 
void gtk_drag_source_set_icon (GtkWidget *widget, GdkColormap *colormap, GdkPixmap *pixmap, GdkBitmap *mask)
 
void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget, GdkPixbuf *pixbuf)
 
void gtk_drag_source_set_icon_stock (GtkWidget *widget, const gchar *stock_id)
 
void gtk_drag_source_set_icon_name (GtkWidget *widget, const gchar *icon_name)
 
GdkDragContextgtk_drag_begin (GtkWidget *widget, GtkTargetList *targets, GdkDragAction actions, gint button, GdkEvent *event)
 
void gtk_drag_set_icon_widget (GdkDragContext *context, GtkWidget *widget, gint hot_x, gint hot_y)
 
void gtk_drag_set_icon_pixmap (GdkDragContext *context, GdkColormap *colormap, GdkPixmap *pixmap, GdkBitmap *mask, gint hot_x, gint hot_y)
 
void gtk_drag_set_icon_pixbuf (GdkDragContext *context, GdkPixbuf *pixbuf, gint hot_x, gint hot_y)
 
void gtk_drag_set_icon_stock (GdkDragContext *context, const gchar *stock_id, gint hot_x, gint hot_y)
 
void gtk_drag_set_icon_name (GdkDragContext *context, const gchar *icon_name, gint hot_x, gint hot_y)
 
void gtk_drag_set_icon_default (GdkDragContext *context)
 
gboolean gtk_drag_check_threshold (GtkWidget *widget, gint start_x, gint start_y, gint current_x, gint current_y)
 
void _gtk_drag_source_handle_event (GtkWidget *widget, GdkEvent *event)
 
void _gtk_drag_dest_handle_event (GtkWidget *toplevel, GdkEvent *event)
 
void gtk_drag_set_default_icon (GdkColormap *colormap, GdkPixmap *pixmap, GdkBitmap *mask, gint hot_x, gint hot_y)
 

Enumeration Type Documentation

◆ GtkDestDefaults

Enumerator
GTK_DEST_DEFAULT_MOTION 
GTK_DEST_DEFAULT_HIGHLIGHT 
GTK_DEST_DEFAULT_DROP 
GTK_DEST_DEFAULT_ALL 

Definition at line 42 of file gtkdnd.h.

◆ GtkTargetFlags

Enumerator
GTK_TARGET_SAME_APP 
GTK_TARGET_SAME_WIDGET 
GTK_TARGET_OTHER_APP 
GTK_TARGET_OTHER_WIDGET 

Definition at line 51 of file gtkdnd.h.

Function Documentation

◆ _gtk_drag_dest_handle_event()

void _gtk_drag_dest_handle_event ( GtkWidget toplevel,
GdkEvent event 
)

◆ _gtk_drag_source_handle_event()

void _gtk_drag_source_handle_event ( GtkWidget widget,
GdkEvent event 
)

◆ gtk_drag_begin()

GdkDragContext* gtk_drag_begin ( GtkWidget widget,
GtkTargetList targets,
GdkDragAction  actions,
gint  button,
GdkEvent event 
)

◆ gtk_drag_check_threshold()

gboolean gtk_drag_check_threshold ( GtkWidget widget,
gint  start_x,
gint  start_y,
gint  current_x,
gint  current_y 
)

◆ gtk_drag_dest_add_image_targets()

void gtk_drag_dest_add_image_targets ( GtkWidget widget)

◆ gtk_drag_dest_add_text_targets()

void gtk_drag_dest_add_text_targets ( GtkWidget widget)

◆ gtk_drag_dest_add_uri_targets()

void gtk_drag_dest_add_uri_targets ( GtkWidget widget)

◆ gtk_drag_dest_find_target()

GdkAtom gtk_drag_dest_find_target ( GtkWidget widget,
GdkDragContext context,
GtkTargetList target_list 
)

◆ gtk_drag_dest_get_target_list()

GtkTargetList* gtk_drag_dest_get_target_list ( GtkWidget widget)

◆ gtk_drag_dest_get_track_motion()

gboolean gtk_drag_dest_get_track_motion ( GtkWidget widget)

◆ gtk_drag_dest_set()

void gtk_drag_dest_set ( GtkWidget widget,
GtkDestDefaults  flags,
const GtkTargetEntry targets,
gint  n_targets,
GdkDragAction  actions 
)

◆ gtk_drag_dest_set_proxy()

void gtk_drag_dest_set_proxy ( GtkWidget widget,
GdkWindow proxy_window,
GdkDragProtocol  protocol,
gboolean  use_coordinates 
)

◆ gtk_drag_dest_set_target_list()

void gtk_drag_dest_set_target_list ( GtkWidget widget,
GtkTargetList target_list 
)

◆ gtk_drag_dest_set_track_motion()

void gtk_drag_dest_set_track_motion ( GtkWidget widget,
gboolean  track_motion 
)

◆ gtk_drag_dest_unset()

void gtk_drag_dest_unset ( GtkWidget widget)

◆ gtk_drag_finish()

void gtk_drag_finish ( GdkDragContext context,
gboolean  success,
gboolean  del,
guint32  time_ 
)

◆ gtk_drag_get_data()

void gtk_drag_get_data ( GtkWidget widget,
GdkDragContext context,
GdkAtom  target,
guint32  time_ 
)

◆ gtk_drag_get_source_widget()

GtkWidget* gtk_drag_get_source_widget ( GdkDragContext context)

◆ gtk_drag_highlight()

void gtk_drag_highlight ( GtkWidget widget)

◆ gtk_drag_set_default_icon()

void gtk_drag_set_default_icon ( GdkColormap colormap,
GdkPixmap pixmap,
GdkBitmap mask,
gint  hot_x,
gint  hot_y 
)

◆ gtk_drag_set_icon_default()

void gtk_drag_set_icon_default ( GdkDragContext context)

◆ gtk_drag_set_icon_name()

void gtk_drag_set_icon_name ( GdkDragContext context,
const gchar *  icon_name,
gint  hot_x,
gint  hot_y 
)

◆ gtk_drag_set_icon_pixbuf()

void gtk_drag_set_icon_pixbuf ( GdkDragContext context,
GdkPixbuf *  pixbuf,
gint  hot_x,
gint  hot_y 
)

◆ gtk_drag_set_icon_pixmap()

void gtk_drag_set_icon_pixmap ( GdkDragContext context,
GdkColormap colormap,
GdkPixmap pixmap,
GdkBitmap mask,
gint  hot_x,
gint  hot_y 
)

◆ gtk_drag_set_icon_stock()

void gtk_drag_set_icon_stock ( GdkDragContext context,
const gchar *  stock_id,
gint  hot_x,
gint  hot_y 
)

◆ gtk_drag_set_icon_widget()

void gtk_drag_set_icon_widget ( GdkDragContext context,
GtkWidget widget,
gint  hot_x,
gint  hot_y 
)

◆ gtk_drag_source_add_image_targets()

void gtk_drag_source_add_image_targets ( GtkWidget widget)

◆ gtk_drag_source_add_text_targets()

void gtk_drag_source_add_text_targets ( GtkWidget widget)

◆ gtk_drag_source_add_uri_targets()

void gtk_drag_source_add_uri_targets ( GtkWidget widget)

◆ gtk_drag_source_get_target_list()

GtkTargetList* gtk_drag_source_get_target_list ( GtkWidget widget)

◆ gtk_drag_source_set()

void gtk_drag_source_set ( GtkWidget widget,
GdkModifierType  start_button_mask,
const GtkTargetEntry targets,
gint  n_targets,
GdkDragAction  actions 
)

◆ gtk_drag_source_set_icon()

void gtk_drag_source_set_icon ( GtkWidget widget,
GdkColormap colormap,
GdkPixmap pixmap,
GdkBitmap mask 
)

◆ gtk_drag_source_set_icon_name()

void gtk_drag_source_set_icon_name ( GtkWidget widget,
const gchar *  icon_name 
)

◆ gtk_drag_source_set_icon_pixbuf()

void gtk_drag_source_set_icon_pixbuf ( GtkWidget widget,
GdkPixbuf *  pixbuf 
)

◆ gtk_drag_source_set_icon_stock()

void gtk_drag_source_set_icon_stock ( GtkWidget widget,
const gchar *  stock_id 
)

◆ gtk_drag_source_set_target_list()

void gtk_drag_source_set_target_list ( GtkWidget widget,
GtkTargetList target_list 
)

◆ gtk_drag_source_unset()

void gtk_drag_source_unset ( GtkWidget widget)

◆ gtk_drag_unhighlight()

void gtk_drag_unhighlight ( GtkWidget widget)