~ubuntu-branches/ubuntu/raring/gtk+2.0/raring-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/gtk-Drag-and-Drop.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-02-06 22:03:26 UTC
  • mfrom: (1.14.12)
  • Revision ID: package-import@ubuntu.com-20120206220326-10d7cnkpdpbi9iox
Tags: 2.24.10-0ubuntu1
* New upstream version, dropped patches included in the new version
* debian/patches/090_logging_file_saves.patch:
  - improve the logging of saved filed, thanks Siegfried Gevatter 
    (lp: #920961)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="gtkbase.html" title="Part II. GTK+ Core Reference">
9
9
<link rel="prev" href="gtk-Clipboards.html" title="Clipboards">
10
10
<link rel="next" href="GtkIconTheme.html" title="GtkIconTheme">
11
 
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
47
47
                                                         <em class="parameter"><code><a class="link" href="gtk-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
48
48
                                                         <em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
49
49
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
50
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
 
50
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
51
51
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-set-proxy" title="gtk_drag_dest_set_proxy ()">gtk_drag_dest_set_proxy</a>             (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
52
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *proxy_window</code></em>,
53
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragProtocol"><span class="type">GdkDragProtocol</span></a> protocol</code></em>,
 
52
                                                         <em class="parameter"><code><a href="../gdk/gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *proxy_window</code></em>,
 
53
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragProtocol"><span class="type">GdkDragProtocol</span></a> protocol</code></em>,
54
54
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_coordinates</code></em>);
55
55
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-unset" title="gtk_drag_dest_unset ()">gtk_drag_dest_unset</a>                 (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
56
 
<a href="http://library.gnome.org/devel/gdk3/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>             <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-find-target" title="gtk_drag_dest_find_target ()">gtk_drag_dest_find_target</a>           (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
57
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
56
<a href="../gdk/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>             <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-find-target" title="gtk_drag_dest_find_target ()">gtk_drag_dest_find_target</a>           (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
 
57
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
58
58
                                                         <em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);
59
59
<a class="link" href="gtk-Selections.html#GtkTargetList"><span class="returnvalue">GtkTargetList</span></a> *     <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()">gtk_drag_dest_get_target_list</a>       (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-set-target-list" title="gtk_drag_dest_set_target_list ()">gtk_drag_dest_set_target_list</a>       (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
65
65
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-set-track-motion" title="gtk_drag_dest_set_track_motion ()">gtk_drag_dest_set_track_motion</a>      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
66
66
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_motion</code></em>);
67
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-track-motion" title="gtk_drag_dest_get_track_motion ()">gtk_drag_dest_get_track_motion</a>      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
68
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()">gtk_drag_finish</a>                     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
68
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()">gtk_drag_finish</a>                     (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
69
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success</code></em>,
70
70
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> del</code></em>,
71
71
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);
72
72
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-get-data" title="gtk_drag_get_data ()">gtk_drag_get_data</a>                   (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
73
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
74
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
 
73
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
74
                                                         <em class="parameter"><code><a href="../gdk/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
75
75
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);
76
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-get-source-widget" title="gtk_drag_get_source_widget ()">gtk_drag_get_source_widget</a>          (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);
 
76
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-get-source-widget" title="gtk_drag_get_source_widget ()">gtk_drag_get_source_widget</a>          (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);
77
77
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-highlight" title="gtk_drag_highlight ()">gtk_drag_highlight</a>                  (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
78
78
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-unhighlight" title="gtk_drag_unhighlight ()">gtk_drag_unhighlight</a>                (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
79
79
 
80
 
<a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *    <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-begin" title="gtk_drag_begin ()">gtk_drag_begin</a>                      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
 
80
<a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *    <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-begin" title="gtk_drag_begin ()">gtk_drag_begin</a>                      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
81
81
                                                         <em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *targets</code></em>,
82
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>,
 
82
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>,
83
83
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> button</code></em>,
84
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
85
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-widget" title="gtk_drag_set_icon_widget ()">gtk_drag_set_icon_widget</a>            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
84
                                                         <em class="parameter"><code><a href="../gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
 
85
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-widget" title="gtk_drag_set_icon_widget ()">gtk_drag_set_icon_widget</a>            (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
86
86
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
87
87
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
88
88
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);
89
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-pixmap" title="gtk_drag_set_icon_pixmap ()">gtk_drag_set_icon_pixmap</a>            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
90
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
91
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
92
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
 
89
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-pixmap" title="gtk_drag_set_icon_pixmap ()">gtk_drag_set_icon_pixmap</a>            (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
90
                                                         <em class="parameter"><code><a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
 
91
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
 
92
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
93
93
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
94
94
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);
95
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-pixbuf" title="gtk_drag_set_icon_pixbuf ()">gtk_drag_set_icon_pixbuf</a>            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
95
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-pixbuf" title="gtk_drag_set_icon_pixbuf ()">gtk_drag_set_icon_pixbuf</a>            (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
96
96
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
97
97
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
98
98
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);
99
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-stock" title="gtk_drag_set_icon_stock ()">gtk_drag_set_icon_stock</a>             (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
99
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-stock" title="gtk_drag_set_icon_stock ()">gtk_drag_set_icon_stock</a>             (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
100
100
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
101
101
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
102
102
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);
103
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-name" title="gtk_drag_set_icon_name ()">gtk_drag_set_icon_name</a>              (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
103
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-name" title="gtk_drag_set_icon_name ()">gtk_drag_set_icon_name</a>              (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
104
104
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
105
105
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
106
106
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);
107
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-default" title="gtk_drag_set_icon_default ()">gtk_drag_set_icon_default</a>           (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);
108
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-default-icon" title="gtk_drag_set_default_icon ()">gtk_drag_set_default_icon</a>           (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
109
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
110
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
 
107
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-icon-default" title="gtk_drag_set_icon_default ()">gtk_drag_set_icon_default</a>           (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);
 
108
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-set-default-icon" title="gtk_drag_set_default_icon ()">gtk_drag_set_default_icon</a>           (<em class="parameter"><code><a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
 
109
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
 
110
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
111
111
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
112
112
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);
113
113
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-check-threshold" title="gtk_drag_check_threshold ()">gtk_drag_check_threshold</a>            (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
116
116
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_x</code></em>,
117
117
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_y</code></em>);
118
118
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set" title="gtk_drag_source_set ()">gtk_drag_source_set</a>                 (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
119
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
 
119
                                                         <em class="parameter"><code><a href="../gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
120
120
                                                         <em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
121
121
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
122
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
 
122
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
123
123
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set-icon" title="gtk_drag_source_set_icon ()">gtk_drag_source_set_icon</a>            (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
124
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
125
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
126
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>);
 
124
                                                         <em class="parameter"><code><a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
 
125
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
 
126
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>);
127
127
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set-icon-pixbuf" title="gtk_drag_source_set_icon_pixbuf ()">gtk_drag_source_set_icon_pixbuf</a>     (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
128
128
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
129
129
<span class="returnvalue">void</span>                <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-source-set-icon-stock" title="gtk_drag_source_set_icon_stock ()">gtk_drag_source_set_icon_stock</a>      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
179
179
   If set for a widget, GTK+, during a drag over this
180
180
   widget will check if the drag matches this widget's
181
181
   list of possible targets and actions.
182
 
   GTK+ will then call <a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#gdk-drag-status"><code class="function">gdk_drag_status()</code></a> as appropriate.
 
182
   GTK+ will then call <a href="../gdk/gdk-Drag-and-Drop.html#gdk-drag-status"><code class="function">gdk_drag_status()</code></a> as appropriate.
183
183
</td>
184
184
</tr>
185
185
<tr>
269
269
                                                         <em class="parameter"><code><a class="link" href="gtk-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
270
270
                                                         <em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
271
271
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
272
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
 
272
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
273
273
<p>
274
274
Sets a widget as a potential drop destination, and adds default behaviors.
275
275
</p>
286
286
as described in the documentation for <span class="type">"drag-motion"</span>. The default
287
287
behaviors described by <em class="parameter"><code>flags</code></em> make some assumptions, that can conflict
288
288
with your own signal handlers. For instance <a class="link" href="gtk-Drag-and-Drop.html#GTK-DEST-DEFAULT-DROP:CAPS"><span class="type">GTK_DEST_DEFAULT_DROP</span></a> causes
289
 
invokations of <a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#gdk-drag-status"><code class="function">gdk_drag_status()</code></a> in the context of <span class="type">"drag-motion"</span>,
 
289
invokations of <a href="../gdk/gdk-Drag-and-Drop.html#gdk-drag-status"><code class="function">gdk_drag_status()</code></a> in the context of <span class="type">"drag-motion"</span>,
290
290
and invokations of <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()"><code class="function">gtk_drag_finish()</code></a> in <span class="type">"drag-data-received"</span>.
291
291
Especially the later is dramatic, when your own <span class="type">"drag-motion"</span>
292
292
handler calls <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-get-data" title="gtk_drag_get_data ()"><code class="function">gtk_drag_get_data()</code></a> to inspect the dragged data.
325
325
<span class="cbracket">{</span>
326
326
<span class="normal">  </span><span class="usertype">GdkModifierType</span><span class="normal"> mask</span><span class="symbol">;</span>
327
327
 
328
 
<span class="normal">  </span><span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#gdk-window-get-pointer">gdk_window_get_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-window">gtk_widget_get_window</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
 
328
<span class="normal">  </span><span class="function"><a href="../gdk/gdk-Windows.html#gdk-window-get-pointer">gdk_window_get_pointer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-window">gtk_widget_get_window</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
329
329
<span class="normal">                          <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">mask</span><span class="symbol">);</span>
330
 
<span class="normal">  </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mask </span><span class="symbol">&amp;</span><span class="normal"> <a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GDK-CONTROL-MASK:CAPS">GDK_CONTROL_MASK</a></span><span class="symbol">)</span>
331
 
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#gdk-drag-status">gdk_drag_status</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GDK-ACTION-COPY:CAPS">GDK_ACTION_COPY</a></span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
 
330
<span class="normal">  </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mask </span><span class="symbol">&amp;</span><span class="normal"> <a href="../gdk/gdk-Windows.html#GDK-CONTROL-MASK:CAPS">GDK_CONTROL_MASK</a></span><span class="symbol">)</span>
 
331
<span class="normal">    </span><span class="function"><a href="../gdk/gdk-Drag-and-Drop.html#gdk-drag-status">gdk_drag_status</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> <a href="../gdk/gdk-Drag-and-Drop.html#GDK-ACTION-COPY:CAPS">GDK_ACTION_COPY</a></span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
332
332
<span class="normal">  </span><span class="keyword">else</span>
333
 
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#gdk-drag-status">gdk_drag_status</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GDK-ACTION-MOVE:CAPS">GDK_ACTION_MOVE</a></span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
 
333
<span class="normal">    </span><span class="function"><a href="../gdk/gdk-Drag-and-Drop.html#gdk-drag-status">gdk_drag_status</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> <a href="../gdk/gdk-Drag-and-Drop.html#GDK-ACTION-MOVE:CAPS">GDK_ACTION_MOVE</a></span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
334
334
<span class="cbracket">}</span></pre></td>
335
335
      </tr>
336
336
    </tbody>
375
375
<div class="refsect2">
376
376
<a name="gtk-drag-dest-set-proxy"></a><h3>gtk_drag_dest_set_proxy ()</h3>
377
377
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_dest_set_proxy             (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
378
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *proxy_window</code></em>,
379
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragProtocol"><span class="type">GdkDragProtocol</span></a> protocol</code></em>,
 
378
                                                         <em class="parameter"><code><a href="../gdk/gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *proxy_window</code></em>,
 
379
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragProtocol"><span class="type">GdkDragProtocol</span></a> protocol</code></em>,
380
380
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_coordinates</code></em>);</pre>
381
381
<p>
382
382
Sets this widget as a proxy for drops to another window.
396
396
<tr>
397
397
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
398
398
<td>the drag protocol which the <em class="parameter"><code>proxy_window</code></em> accepts
399
 
(You can use <a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#gdk-drag-get-protocol"><code class="function">gdk_drag_get_protocol()</code></a> to determine this)</td>
 
399
(You can use <a href="../gdk/gdk-Drag-and-Drop.html#gdk-drag-get-protocol"><code class="function">gdk_drag_get_protocol()</code></a> to determine this)</td>
400
400
</tr>
401
401
<tr>
402
402
<td><p><span class="term"><em class="parameter"><code>use_coordinates</code></em> :</span></p></td>
428
428
<hr>
429
429
<div class="refsect2">
430
430
<a name="gtk-drag-dest-find-target"></a><h3>gtk_drag_dest_find_target ()</h3>
431
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk3/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>             gtk_drag_dest_find_target           (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
432
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
431
<pre class="programlisting"><a href="../gdk/gdk-Properties-and-Atoms.html#GdkAtom"><span class="returnvalue">GdkAtom</span></a>             gtk_drag_dest_find_target           (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
 
432
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
433
433
                                                         <em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);</pre>
434
434
<div class="variablelist"><table border="0">
435
435
<col align="left" valign="top">
448
448
gtk_drag_dest_get_target_list (<em class="parameter"><code>widget</code></em>).
449
449
Looks for a match between the supported targets of <em class="parameter"><code>context</code></em> and the
450
450
<em class="parameter"><code>dest_target_list</code></em>, returning the first matching target, otherwise
451
 
returning <a href="http://library.gnome.org/devel/gdk3/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <em class="parameter"><code>dest_target_list</code></em> should usually be the return
 
451
returning <a href="../gdk/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <em class="parameter"><code>dest_target_list</code></em> should usually be the return
452
452
value from <a class="link" href="gtk-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()"><code class="function">gtk_drag_dest_get_target_list()</code></a>, but some widgets may
453
453
have different valid targets for different parts of the widget; in
454
454
that case, they will have to implement a drag_motion handler that
458
458
<tr>
459
459
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
460
460
<td>first target that the source offers
461
 
and the dest can accept, or <a href="http://library.gnome.org/devel/gdk3/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
461
and the dest can accept, or <a href="../gdk/gdk-Properties-and-Atoms.html#GDK-NONE:CAPS"><code class="literal">GDK_NONE</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
462
462
</td>
463
463
</tr>
464
464
</tbody>
629
629
<hr>
630
630
<div class="refsect2">
631
631
<a name="gtk-drag-finish"></a><h3>gtk_drag_finish ()</h3>
632
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_finish                     (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
632
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_finish                     (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
633
633
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> success</code></em>,
634
634
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> del</code></em>,
635
635
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
664
664
<div class="refsect2">
665
665
<a name="gtk-drag-get-data"></a><h3>gtk_drag_get_data ()</h3>
666
666
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_get_data                   (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
667
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
668
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
 
667
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
668
                                                         <em class="parameter"><code><a href="../gdk/gdk-Properties-and-Atoms.html#GdkAtom"><span class="type">GdkAtom</span></a> target</code></em>,
669
669
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> time_</code></em>);</pre>
670
670
<p>
671
671
Gets the data associated with a drag. When the data
705
705
<hr>
706
706
<div class="refsect2">
707
707
<a name="gtk-drag-get-source-widget"></a><h3>gtk_drag_get_source_widget ()</h3>
708
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_drag_get_source_widget          (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
 
708
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_drag_get_source_widget          (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
709
709
<p>
710
710
Determines the source widget for a drag.
711
711
</p>
766
766
<hr>
767
767
<div class="refsect2">
768
768
<a name="gtk-drag-begin"></a><h3>gtk_drag_begin ()</h3>
769
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *    gtk_drag_begin                      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
 
769
<pre class="programlisting"><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="returnvalue">GdkDragContext</span></a> *    gtk_drag_begin                      (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
770
770
                                                         <em class="parameter"><code><a class="link" href="gtk-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *targets</code></em>,
771
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>,
 
771
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>,
772
772
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> button</code></em>,
773
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
 
773
                                                         <em class="parameter"><code><a href="../gdk/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
774
774
<p>
775
775
Initiates a drag on the source side. The function
776
776
only needs to be used when the application is
801
801
<p>
802
802
3. During a timeout handler, if you want to start a drag after the mouse
803
803
button is held down for some time.  Try to save the last event that you got
804
 
from the mouse, using <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#gdk-event-copy"><code class="function">gdk_event_copy()</code></a>, and pass it to this function
805
 
(remember to free the event with <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#gdk-event-free"><code class="function">gdk_event_free()</code></a> when you are done).  If you
 
804
from the mouse, using <a href="../gdk/gdk-Events.html#gdk-event-copy"><code class="function">gdk_event_copy()</code></a>, and pass it to this function
 
805
(remember to free the event with <a href="../gdk/gdk-Events.html#gdk-event-free"><code class="function">gdk_event_free()</code></a> when you are done).  If you
806
806
can really not pass a real event, pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> instead.
807
807
</p>
808
808
<div class="variablelist"><table border="0">
840
840
<hr>
841
841
<div class="refsect2">
842
842
<a name="gtk-drag-set-icon-widget"></a><h3>gtk_drag_set_icon_widget ()</h3>
843
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_widget            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
843
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_widget            (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
844
844
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
845
845
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
846
846
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
876
876
<hr>
877
877
<div class="refsect2">
878
878
<a name="gtk-drag-set-icon-pixmap"></a><h3>gtk_drag_set_icon_pixmap ()</h3>
879
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_pixmap            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
880
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
881
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
882
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
 
879
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_pixmap            (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
880
                                                         <em class="parameter"><code><a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
 
881
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
 
882
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
883
883
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
884
884
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
885
885
<p>
923
923
<hr>
924
924
<div class="refsect2">
925
925
<a name="gtk-drag-set-icon-pixbuf"></a><h3>gtk_drag_set_icon_pixbuf ()</h3>
926
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_pixbuf            (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
926
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_pixbuf            (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
927
927
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
928
928
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
929
929
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
956
956
<hr>
957
957
<div class="refsect2">
958
958
<a name="gtk-drag-set-icon-stock"></a><h3>gtk_drag_set_icon_stock ()</h3>
959
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_stock             (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
959
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_stock             (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
960
960
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
961
961
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
962
962
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
989
989
<hr>
990
990
<div class="refsect2">
991
991
<a name="gtk-drag-set-icon-name"></a><h3>gtk_drag_set_icon_name ()</h3>
992
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_name              (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
 
992
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_name              (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>,
993
993
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>,
994
994
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
995
995
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
1027
1027
<hr>
1028
1028
<div class="refsect2">
1029
1029
<a name="gtk-drag-set-icon-default"></a><h3>gtk_drag_set_icon_default ()</h3>
1030
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_default           (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
 
1030
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_icon_default           (<em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragContext"><span class="type">GdkDragContext</span></a> *context</code></em>);</pre>
1031
1031
<p>
1032
1032
Sets the icon for a particular drag to the default
1033
1033
icon.
1044
1044
<hr>
1045
1045
<div class="refsect2">
1046
1046
<a name="gtk-drag-set-default-icon"></a><h3>gtk_drag_set_default_icon ()</h3>
1047
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_default_icon           (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
1048
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
1049
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
 
1047
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_set_default_icon           (<em class="parameter"><code><a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
 
1048
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
 
1049
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>,
1050
1050
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_x</code></em>,
1051
1051
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> hot_y</code></em>);</pre>
1052
1052
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1134
1134
<div class="refsect2">
1135
1135
<a name="gtk-drag-source-set"></a><h3>gtk_drag_source_set ()</h3>
1136
1136
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_source_set                 (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
1137
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
 
1137
                                                         <em class="parameter"><code><a href="../gdk/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
1138
1138
                                                         <em class="parameter"><code>const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
1139
1139
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
1140
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
 
1140
                                                         <em class="parameter"><code><a href="../gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
1141
1141
<p>
1142
1142
Sets up a widget so that GTK+ will start a drag operation when the user
1143
1143
clicks and drags on the widget. The widget must have a window.
1176
1176
<div class="refsect2">
1177
1177
<a name="gtk-drag-source-set-icon"></a><h3>gtk_drag_source_set_icon ()</h3>
1178
1178
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_drag_source_set_icon            (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
1179
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
1180
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
1181
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>);</pre>
 
1179
                                                         <em class="parameter"><code><a href="../gdk/gdk-Colormaps-and-Colors.html#GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
 
1180
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
 
1181
                                                         <em class="parameter"><code><a href="../gdk/gdk-Bitmaps-and-Pixmaps.html#GdkBitmap"><span class="type">GdkBitmap</span></a> *mask</code></em>);</pre>
1182
1182
<p>
1183
1183
Sets the icon that will be used for drags from a particular widget
1184
1184
from a pixmap/mask. GTK+ retains references for the arguments, and
1414
1414
</div>
1415
1415
<div class="footer">
1416
1416
<hr>
1417
 
          Generated by GTK-Doc V1.17</div>
 
1417
          Generated by GTK-Doc V1.18</div>
1418
1418
</body>
1419
1419
</html>
 
 
b'\\ No newline at end of file'